steveloughran commented on a change in pull request #1705: HADOOP-16693: Review
InterruptedException Handling
URL: https://github.com/apache/hadoop/pull/1705#discussion_r344715773
##########
File path:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
##########
@@ -180,9 +180,8 @@ public void run() {
// update the used variable
spaceUsed.refresh();
} catch (InterruptedException e) {
- LOG.warn("Thread Interrupted waiting to refresh disk information: "
- + e.getMessage());
- Thread.currentThread().interrupt();
+ LOG.warn("Thread Interrupted waiting to refresh disk information. "
Review comment:
retain message; include stack trace @ debug level
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]