supratimdeka commented on a change in pull request #1637: HDDS-2206. Separate
handling for OMException and IOException in the Ozone Manager. Contributed by
Supratim Deka
URL: https://github.com/apache/hadoop/pull/1637#discussion_r334861542
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java
##########
@@ -219,7 +244,7 @@ private OMResponse submitRequestDirectlyToOM(OMRequest
request) {
omClientResponse = omClientRequest.validateAndUpdateCache(
ozoneManager, index, ozoneManagerDoubleBuffer::add);
}
- } catch(IOException ex) {
+ } catch(OMException ex) {
Review comment:
Addressed comments in
https://github.com/apache/hadoop-ozone/pull/12
----------------------------------------------------------------
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]