hfutatzhanghb commented on code in PR #7445:
URL: https://github.com/apache/hadoop/pull/7445#discussion_r1980986906
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/async/RouterAsyncClientProtocol.java:
##########
@@ -1086,4 +1093,35 @@ public boolean isMultiDestDirectory(String src) {
return asyncReturn(boolean.class);
}
+
+ @Override
+ public Path getEnclosingRoot(String src) throws IOException {
+ final Path[] mountPath = new Path[1];
Review Comment:
> Here give array which size is 1, what about `Path mountPath = null;`, any
concerns here?
@Hexiaoqiao Sir, thanks for reviewing. if we use `Path mount = null` here,
we will encounter syntax error because we will use mount in lambda experssion.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]