steveloughran commented on a change in pull request #1705: HADOOP-16693: Review 
InterruptedException Handling
URL: https://github.com/apache/hadoop/pull/1705#discussion_r344716039
 
 

 ##########
 File path: 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
 ##########
 @@ -351,7 +351,8 @@ public AbstractFileSystem run() throws 
UnsupportedFileSystemException {
         throw ex;
       }
     } catch (InterruptedException ex) {
-      LOG.error(ex.toString());
+      LOG.debug("Error", ex);
+      Thread.currentThread().interrupt();
 
 Review comment:
   on L356, make InterruptedIOException

----------------------------------------------------------------
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]

Reply via email to