[
https://issues.apache.org/jira/browse/HDFS-17261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788398#comment-17788398
]
ASF GitHub Bot commented on HDFS-17261:
---------------------------------------
LiuGuH opened a new pull request, #6288:
URL: https://github.com/apache/hadoop/pull/6288
…i-level dirs
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
With DFSRouter, Suppose there are two nameservices : ns0,ns1
Add mountTable /testgetfileinfo/ns1/dir -> (ns1 ->
/testgetfileinfo/ns1/dir)
hdfs client via DFSRouter accesses a directory: hdfs dfs -ls -d
/testgetfileinfo
it will return worng path : /testgetfileinfo/testgetfileinfo
### How was this patch tested?
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> Fix getFileInfo return wrong path when get mountTable path which multi-level
> ----------------------------------------------------------------------------
>
> Key: HDFS-17261
> URL: https://issues.apache.org/jira/browse/HDFS-17261
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: liuguanghua
> Priority: Minor
>
> With DFSRouter, Suppose there are two nameservices : ns0,ns1
> # Add mountTable /testgetfileinfo/ns1/dir -> (ns1 ->
> /testgetfileinfo/ns1/dir)
> # hdfs client via DFSRouter accesses a directory: hdfs dfs -ls -d
> /testgetfileinfo
> # it will return worng path : /testgetfileinfo/testgetfileinfo
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]