MAPREDUCE-6442. Stack trace is missing when error occurs in client protocol provider's constructor Contributed by Chang Li.

(cherry picked from commit 9b685773ec)
This commit is contained in:
Tsuyoshi Ozawa 2015-09-05 11:21:03 +09:00
parent 9f97b86816
commit 8bf5362014
2 changed files with 4 additions and 1 deletions

View File

@ -315,6 +315,9 @@ Release 2.7.2 - UNRELEASED
MAPREDUCE-6439. AM may fail instead of retrying if RM shuts down during the
allocate call. (Anubhav Dhoot via kasha)
MAPREDUCE-6442. Stack trace is missing when error occurs in client protocol
provider's constructor (Chang Li via ozawa)
Release 2.7.1 - 2015-07-06
INCOMPATIBLE CHANGES

View File

@ -111,7 +111,7 @@ private void initialize(InetSocketAddress jobTrackAddr, Configuration conf)
}
catch (Exception e) {
LOG.info("Failed to use " + provider.getClass().getName()
+ " due to error: " + e.getMessage());
+ " due to error: ", e);
}
}
}