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/trunk@1341916 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-05-23 15:56:59 +00:00
parent aa80e6895d
commit 445018cea8
2 changed files with 4 additions and 1 deletions

View File

@ -200,6 +200,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;