MAPREDUCE-6748. Enhance logging for Cluster.java around InetSocketAddress (Vrushali C via Varun Saxena)
This commit is contained in:
parent
4d3af47f27
commit
6529fe9345
@ -106,6 +106,10 @@ private void initialize(InetSocketAddress jobTrackAddr, Configuration conf)
|
|||||||
"Cannot initialize Cluster. Please check your configuration for "
|
"Cannot initialize Cluster. Please check your configuration for "
|
||||||
+ MRConfig.FRAMEWORK_NAME
|
+ MRConfig.FRAMEWORK_NAME
|
||||||
+ " and the correspond server addresses.");
|
+ " and the correspond server addresses.");
|
||||||
|
if (jobTrackAddr != null) {
|
||||||
|
LOG.info(
|
||||||
|
"Initializing cluster for Job Tracker=" + jobTrackAddr.toString());
|
||||||
|
}
|
||||||
for (ClientProtocolProvider provider : providerList) {
|
for (ClientProtocolProvider provider : providerList) {
|
||||||
LOG.debug("Trying ClientProtocolProvider : "
|
LOG.debug("Trying ClientProtocolProvider : "
|
||||||
+ provider.getClass().getName());
|
+ provider.getClass().getName());
|
||||||
|
Loading…
Reference in New Issue
Block a user