[ 
https://issues.apache.org/jira/browse/HDFS-17788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17954255#comment-17954255
 ] 

ASF GitHub Bot commented on HDFS-17788:
---------------------------------------

Hexiaoqiao commented on code in PR #7703:
URL: https://github.com/apache/hadoop/pull/7703#discussion_r2108566797


##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/async/RouterAsyncClientProtocol.java:
##########
@@ -579,6 +579,8 @@ public HdfsFileStatus getFileInfo(String src) throws 
IOException {
       if (e instanceof NoLocationException
           || e instanceof RouterResolveException) {
         noLocationException[0] = e;
+      } else {

Review Comment:
   Great catch here. What about other RPCs invoke, if has the same issue? 
Thanks.





> [ARR] getFileInfo not handle exception rightly which may cause 
> FileNotFoundException in DistributedFileSystem
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17788
>                 URL: https://issues.apache.org/jira/browse/HDFS-17788
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: rbf
>            Reporter: farmmamba
>            Assignee: farmmamba
>            Priority: Major
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to