hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9877) HDFS Namenode UI: Fix browsing directories that need to be encoded
Date Thu, 01 Sep 2016 21:37:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ravi Prakash updated HDFS-9877:
-------------------------------
    Fix Version/s: 2.9.0

> HDFS Namenode UI: Fix browsing directories that need to be encoded
> ------------------------------------------------------------------
>
>                 Key: HDFS-9877
>                 URL: https://issues.apache.org/jira/browse/HDFS-9877
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ui
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 2.9.0, 3.0.0-alpha1
>
>         Attachments: HDFS-9877.01.patch
>
>
> When we browse a directory whose encoded path is not the same as unencoded path, *2*
HTTP requests are sent (instead of 1) and the 2nd request fails.
> e.g. when I browse {{/tmp/new directory}} (note the space) it gets encoded to {{/tmp/new%20directory}}
and then [this|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js#L40]
check fails:
> {code}
>     if(current_directory != dir) {
>       browse_directory(dir);
>     }{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message