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-5935) New Namenode UI FS browser should throw smarter error messages
Date Wed, 12 Feb 2014 18:45:25 GMT

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

Haohui Mai commented on HDFS-5935:
----------------------------------

The FileSystem browser is built on the client side, thus it cannot check out the values of
hdfs-site.xml directly.

The web UI and webhdfs are running on the same server at the same port, it is very likely
you can access both or you can access neither of them. Therefore I think it is good enough
to checking whether the response is 404, but having a wiki entry would be definitely helpful
for cases like SPNEGO / security, etc.

> New Namenode UI FS browser should throw smarter error messages
> --------------------------------------------------------------
>
>                 Key: HDFS-5935
>                 URL: https://issues.apache.org/jira/browse/HDFS-5935
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.3.0
>            Reporter: Travis Thompson
>            Assignee: Travis Thompson
>            Priority: Minor
>
> When browsing using the new FS browser in the namenode, if I try to browse a folder that
I don't have permission to view, it throws the error:
> {noformat}
> Failed to retreive data from /webhdfs/v1/system?op=LISTSTATUS, cause: Forbidden
> WebHDFS might be disabled. WebHDFS is required to browse the filesystem.
> {noformat}
> The reason I'm not allowed to see /system is because I don't have permission, not because
WebHDFS is disabled.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message