symious commented on a change in pull request #1776:
URL: https://github.com/apache/ozone/pull/1776#discussion_r564538378
##########
File path:
hadoop-ozone/ozonefs-hadoop2/src/main/java/org/apache/hadoop/fs/ozone/Hadoop27RpcTransport.java
##########
@@ -67,6 +69,12 @@ public OMResponse submitRequest(OMRequest payload) throws
IOException {
try {
return proxy.submitRequest(NULL_RPC_CONTROLLER, payload);
} catch (ServiceException e) {
+ OMNotLeaderException notLeaderException =
Review comment:
Thanks for the reply.
I agree with the solution to always throw an exception since the client can
only work when it's on the same server as the leader OM.
I will change the PR later.
Also, I'd like to add HA support for Hadoop 2, hope you can have a review.
Thanks a lot.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]