HADOOP-13710. Supress CachingGetSpaceUsed from logging interrupted exception stacktrace. Contributed by Hanisha Koneru.
This commit is contained in:
parent
9097e2efe4
commit
008122b3c9
|
@ -177,7 +177,8 @@ public abstract class CachingGetSpaceUsed implements Closeable, GetSpaceUsed {
|
||||||
// update the used variable
|
// update the used variable
|
||||||
spaceUsed.refresh();
|
spaceUsed.refresh();
|
||||||
} catch (InterruptedException e) {
|
} 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();
|
Thread.currentThread().interrupt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue