hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4108) In a secure cluster, in the HDFS WEBUI , clicking on a datanode in the node list , gives an error
Date Fri, 02 Nov 2012 14:53:13 GMT

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

Daryn Sharp commented on HDFS-4108:
-----------------------------------

I understand the refresh part now.  Could you avoid the redirect if the NN is _not_ in safe-mode?
 As for SPNEGO, I think the client does SPNEGO auth to the DN, but the token is for the DN
to communicate with the NN.

You should be able to use the current user's ugi to get the token because that will reflect
the SPNEGO auth'ed user.  It would have the downside to the token being displayed in every
DN link on the NN's node list, but the token is display in the link when at the DN anyway.
 On the upside, it would prevent a new token being generated every time the user clicks a
link to a DN.
                
> In a secure cluster, in the HDFS WEBUI , clicking on a datanode in the node list , gives
an error
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4108
>                 URL: https://issues.apache.org/jira/browse/HDFS-4108
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security, webhdfs
>    Affects Versions: 1.1.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>            Priority: Minor
>         Attachments: HDFS-4108-1-1.patch, HDFS-4108-1-1.patch
>
>
> This issue happens in secure cluster.
> To reproduce :
> Go to the NameNode WEB UI. (dfshealth.jsp)
> Click to bring up the list of LiveNodes  (dfsnodelist.jsp)
> Click on a datanode to bring up the filesystem  web page ( browsedirectory.jsp)
> The page containing the directory listing does not come up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message