HDFS-15919. BlockPoolManager should log stack trace if unable to get Namenode addresses. Contributed by Stephen O'Donnell.
This commit is contained in:
parent
654555783d
commit
ed5814deff
@ -158,7 +158,7 @@ void refreshNamenodes(Configuration conf)
|
||||
newLifelineAddressMap =
|
||||
DFSUtil.getNNLifelineRpcAddressesForCluster(conf);
|
||||
} catch (IOException ioe) {
|
||||
LOG.warn("Unable to get NameNode addresses.");
|
||||
LOG.warn("Unable to get NameNode addresses.", ioe);
|
||||
}
|
||||
|
||||
if (newAddressMap == null || newAddressMap.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user