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

wangzhaohui commented on HDFS-15591:
------------------------------------

[~ayushtkn],[~elgoiri]

thanks for review.The web returned the default parameters is slash. When the 
virtual path is created for the first time,
{code:java}
Path path = new Path(src, child){code}
the parameters returned to the web are also accompanied by slash,such as /test, 
so there will be problems when access the subPath of this virtual path.

src=/test.  child=123

New Path(src, child)  will return //test123 to web.

In patch-003 I  changed the uPath for the getMountStatusPoints returned

> RBF: Fix webHdfs file display error
> -----------------------------------
>
>                 Key: HDFS-15591
>                 URL: https://issues.apache.org/jira/browse/HDFS-15591
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: wangzhaohui
>            Assignee: wangzhaohui
>            Priority: Major
>         Attachments: HDFS-15591-001.patch, HDFS-15591-002.patch, 
> HDFS-15591-003.patch, RBF_Browse_Directory.png, after-1.jpg, after-2.jpg, 
> before-1.jpg, before-2.jpg
>
>
> The path mounted by the router does not exist on NN,router will  create 
> virtual folder with the mount name, but the "browse the file syaytem" display 
> on http is wrong. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to