hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7713) Improve the HDFS Web UI browser to allow creating dirs
Date Fri, 20 Mar 2015 18:21:40 GMT

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

Haohui Mai commented on HDFS-7713:
----------------------------------

The patch looks pretty good to me.

{code}
+    var url = '/webhdfs/v1' + append_path(current_directory,
+      $('#new_directory').val()) + '?op=MKDIRS';
{code}

The path need to be encoded when constructing the path. The current patch will fail when creating
a directory whose name is {{asdf#df+1}}.

> Improve the HDFS Web UI browser to allow creating dirs
> ------------------------------------------------------
>
>                 Key: HDFS-7713
>                 URL: https://issues.apache.org/jira/browse/HDFS-7713
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: HDFS-7713.01.patch, HDFS-7713.02.patch, HDFS-7713.03.patch, HDFS-7713.04.patch,
HDFS-7713.05.patch, HDFS-7713.06.patch
>
>
> This sub-task JIRA is for improving the NN HTML5 UI to allow the user to create directories.
It uses WebHDFS and adds to the great work done in HDFS-6252



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

Mime
View raw message