You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/05 19:13:44 UTC

[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request #305: HDDS-2578. Handle InterruptedException in RandomKeyGenerator

xiaoyuyao commented on a change in pull request #305: HDDS-2578. Handle InterruptedException in RandomKeyGenerator
URL: https://github.com/apache/hadoop-ozone/pull/305#discussion_r354497468
 
 

 ##########
 File path: hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/RandomKeyGenerator.java
 ##########
 @@ -1060,8 +1060,10 @@ public void run() {
             }
             is.close();
           }
-        } catch (IOException | InterruptedException ex) {
+        } catch (IOException ex) {
           LOG.error("Exception while validating write: " + ex.getMessage());
 
 Review comment:
   should we change line 1064 like:
   LOG.error("Exception while validating write.", ex);

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org