MAPREDUCE-6748. Enhance logging for Cluster.java around InetSocketAddress (Vrushali C via Varun Saxena)

This commit is contained in:
Varun Saxena 2016-08-08 21:53:29 +05:30
parent ab130f97ca
commit 8b09292f4f
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@ public class Cluster {
"Cannot initialize Cluster. Please check your configuration for "
+ MRConfig.FRAMEWORK_NAME
+ " and the correspond server addresses.");
if (jobTrackAddr != null) {
LOG.info(
"Initializing cluster for Job Tracker=" + jobTrackAddr.toString());
}
for (ClientProtocolProvider provider : providerList) {
LOG.debug("Trying ClientProtocolProvider : "
+ provider.getClass().getName());