[ https://issues.apache.org/jira/browse/HDFS-4108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoy Antony updated HDFS-4108: ------------------------------- Attachment: HDFS-4108-1-1.patch In the secure mode, browsedirectory.jsp needs a delegation token. dfsnodelist.jsp does not pass a delegation token. The fix was to change the link point to nn_browsedfscontent.jsp. Modified nn_browsedfscontent.jsp to accept a datanode . If datanode is present, nn_browsedfscontent.jsp redirects to it with delegation token. If datanode is not present, then nn_browsedfscontent.jsp picks a random datanode and redirects to it. > 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