HDFS-3996. Add debug log removed in HDFS-3873 back. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1393777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-10-03 21:30:45 +00:00
parent 803828b996
commit 43ae84761f
2 changed files with 5 additions and 0 deletions

View File

@ -241,6 +241,8 @@ Release 2.0.3-alpha - Unreleased
HDFS-3896. Add descriptions for dfs.namenode.rpc-address and HDFS-3896. Add descriptions for dfs.namenode.rpc-address and
dfs.namenode.servicerpc-address to hdfs-default.xml. (Jeff Lord via atm) dfs.namenode.servicerpc-address to hdfs-default.xml. (Jeff Lord via atm)
HDFS-3996. Add debug log removed in HDFS-3873 back. (eli)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -254,6 +254,9 @@ public class HftpFileSystem extends FileSystem
", assuming security is disabled"); ", assuming security is disabled");
return null; return null;
} }
if (LOG.isDebugEnabled()) {
LOG.debug("Exception getting delegation token", e);
}
throw e; throw e;
} }
for (Token<? extends TokenIdentifier> t : c.getAllTokens()) { for (Token<? extends TokenIdentifier> t : c.getAllTokens()) {