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

Benoy Antony commented on HDFS-4108:
------------------------------------

To Jitendra's comment: 
That was my first approach to solve the problem. Then I hit on a corner case. 
The namenode was in safe mode. The call to getDelegationToken failed and page 
displayed an error. I fixed this by invoking getDelegationToken () only if the 
namenode is out of safe mode.  
But then these links won't work any more unless the page is refreshed.  

To avoid these inconsistencies, I used the rediect. 
                
> 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
>
>
> 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

Reply via email to