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

Aaron T. Myers commented on HDFS-2714:
--------------------------------------

+1, the patch looks good to me.
                
> HA: Fix test cases which use standalone FSNamesystems
> -----------------------------------------------------
>
>                 Key: HDFS-2714
>                 URL: https://issues.apache.org/jira/browse/HDFS-2714
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>         Attachments: hdfs-2714.txt
>
>
> Several tests (eg TestEditLog, TestSaveNamespace) failed in the most recent 
> build with an NPE inside of FSNamesystem.checkOperation. These tests set up a 
> standalone FSN that isn't fully initialized. We just need to add a null check 
> to deal with this case in checkOperation.

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