HDFS-3454. Balancer unconditionally logs InterruptedException at INFO level on shutdown if security is enabled. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1341928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-05-23 16:05:41 +00:00
parent 3ea532eefc
commit ca16f8bdae
2 changed files with 4 additions and 1 deletions

View File

@ -54,6 +54,9 @@ Release 2.0.1-alpha - UNRELEASED
ClassCastException check is useless since generic type information is only
available in compile-time. (szetszwo)
HDFS-3454. Balancer unconditionally logs InterruptedException at
INFO level on shutdown if security is enabled. (eli)
OPTIMIZATIONS
BUG FIXES

View File

@ -200,7 +200,7 @@ class NameNodeConnector {
Thread.sleep(keyUpdaterInterval);
}
} catch (InterruptedException e) {
LOG.info("InterruptedException in block key updater thread", e);
LOG.debug("InterruptedException in block key updater thread", e);
} catch (Throwable e) {
LOG.error("Exception in block key updater thread", e);
shouldRun = false;