[
https://issues.apache.org/jira/browse/HDFS-5854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886464#comment-13886464
]
Steve Loughran commented on HDFS-5854:
--------------------------------------
a GET on the command line returns the HTTP error code, though the body is
meaningless
{code}
$ GET http://localhost:50070/webhdfs/v1/?op=LISTSTATUS
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 401 </title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /webhdfs/v1/. Reason:
<pre> </pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</body>
</html>
{code}
> WebHDFS file browsing not working on secure cluster -or displaying meaningful
> errors
> ------------------------------------------------------------------------------------
>
> Key: HDFS-5854
> URL: https://issues.apache.org/jira/browse/HDFS-5854
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 2.4.0
> Environment: linux, kerberized 2.4.0 snapshot, commit #941ce6a
> Reporter: Steve Loughran
> Attachments: Screen Shot 2014-01-30 at 10.16.45.png
>
>
> webhdfs is on by default and the new NN status UI is coming up (after setting
> the {{ 'dfs.web.authentication.kerberos.principal}} property -but the FS
> browser failing with error code 401 -unauth.
> That's inevitably security related -somehow. But
> # the principal is set -or does httpfs-site.xml need to be filled in too?
> # if it is invalid, then some statement in the GUI should be provided
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)