hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1038) In nn_browsedfscontent.jsp fetch delegation token only if security is enabled.
Date Mon, 24 May 2010 21:46:29 GMT

    [ 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.


Mime
View raw message