[
https://issues.apache.org/jira/browse/HDFS-17788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17954256#comment-17954256
]
ASF GitHub Bot commented on HDFS-17788:
---------------------------------------
hfutatzhanghb commented on code in PR #7703:
URL: https://github.com/apache/hadoop/pull/7703#discussion_r2108571765
##########
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:
@Hexiaoqiao , Thanks a lot for your reviewing. Have checked other
asyncCatch function invocation, not found the same issue.
> [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: [email protected]
For additional commands, e-mail: [email protected]