HDFS-15919. BlockPoolManager should log stack trace if unable to get Namenode addresses. Contributed by Stephen O'Donnell.

This commit is contained in:
He Xiaoqiao 2021-03-25 12:24:14 +08:00
parent 4db5643ff9
commit bf018e7237
No known key found for this signature in database
GPG Key ID: A80CC124E9A0FA63
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class BlockPoolManager {
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()) {