[ https://issues.apache.org/jira/browse/HDFS-17714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
farmmamba resolved HDFS-17714. ------------------------------ Resolution: Fixed > MockResolver#removeLocation should also remove src path > ------------------------------------------------------- > > Key: HDFS-17714 > URL: https://issues.apache.org/jira/browse/HDFS-17714 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: farmmamba > Assignee: farmmamba > Priority: Minor > Labels: pull-request-available > Attachments: image-2025-01-22-14-42-04-937.png > > > When running TestRouterAsyncRpc in local, the testProxyMkdir always failed > because of > {code:java} > FileStatus[] filesInitial = routerFS.listStatus(new Path("/")); {code} > BTW, the getListing source codes in my company has a little bit difference > from the community's, but this is not important. > > !image-2025-01-22-14-42-04-937.png|width=1080,height=547! > > The path `{{{}/mntsnapshot`{}}} is only appeared in testManageSnapshot, after > diving into this problem, i found the reason is `MockResolver#removeLocation` > only remove locations of a source path. This will leave the source path in > `{{{}MockResolver#locations`{}}}. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org