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:49:54 +05:30
parent 4d3af47f27
commit 6529fe9345
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());