[ https://issues.apache.org/jira/browse/HDFS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870859#action_12870859 ]
Jitendra Nath Pandey commented on HDFS-1038: -------------------------------------------- >It might be a good idea to scan quickly all the places where the getDT api is >called to verify 'null' value is expected there. NameNodeJspHelper.getDelegationToken is package private and is called in only one place, redirectToRandomDataNode in the same file, apart from the newly added testcase. 'redirectToRandomDataNode' method handles the null value. > In nn_browsedfscontent.jsp fetch delegation token only if security is enabled. > ------------------------------------------------------------------------------ > > Key: HDFS-1038 > URL: https://issues.apache.org/jira/browse/HDFS-1038 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Jitendra Nath Pandey > Assignee: Jitendra Nath Pandey > Attachments: HDFS-1038-y20.1.patch, HDFS-1038.1.patch, > HDFS-1038.2.patch > > > nn_browsedfscontent.jsp calls getDelegationToken even if security is > disabled, which causes NPE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.