HADOOP-13710. Supress CachingGetSpaceUsed from logging interrupted exception stacktrace. Contributed by Hanisha Koneru.

This commit is contained in:
Arpit Agarwal 2016-10-13 11:37:03 -07:00
parent 9097e2efe4
commit 008122b3c9
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@ public void run() {
// update the used variable
spaceUsed.refresh();
} catch (InterruptedException e) {
LOG.warn("Thread Interrupted waiting to refresh disk information", e);
LOG.warn("Thread Interrupted waiting to refresh disk information: "
+ e.getMessage());
Thread.currentThread().interrupt();
}
}