hanishakoneru commented on a change in pull request #1494:
URL: https://github.com/apache/ozone/pull/1494#discussion_r544743156
##########
File path:
hadoop-ozone/ozonefs-hadoop2/src/main/java/org/apache/hadoop/fs/ozone/Hadoop27RpcTransport.java
##########
@@ -71,6 +73,16 @@ public OMResponse submitRequest(OMRequest payload) throws
IOException {
}
}
+ @Override
+ public BootstrapResponse bootstrapRequest(BootstrapRequest bootstrapRequest)
+ throws IOException {
+ try {
+ return proxy.bootstrap(NULL_RPC_CONTROLLER, bootstrapRequest);
+ } catch (ServiceException e) {
+ throw new IOException("Service exception during the bootstrap", e);
Review comment:
Yes, Hadoop27OMTransport does not support it. Replicated the behavior as
is in submitRequest.
----------------------------------------------------------------
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]