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/branches/branch-2@1393778 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-10-03 21:31:04 +00:00
parent aa53f366c8
commit dd16390e9c
2 changed files with 5 additions and 0 deletions

View File

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

View File

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