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

Junping Du commented on HDFS-3654:
----------------------------------

Looks like in TestJspHelper#testGetUgi, servletContext is only a Mock object 
and cannot get NN. May be add "if (nn != null) {}" back as 'nn' could be null 
in some case?

                
> TestJspHelper#testGetUgi may fail
> ---------------------------------
>
>                 Key: HDFS-3654
>                 URL: https://issues.apache.org/jira/browse/HDFS-3654
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.0.1-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>
> Looks like my recent change in HDFS-3639 can occasionally cause this test to 
> fail. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to