Hexiaoqiao commented on code in PR #7445:
URL: https://github.com/apache/hadoop/pull/7445#discussion_r1980941636
##########
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?
--
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]