[ https://issues.apache.org/jira/browse/HDFS-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-2714: ------------------------------ Attachment: hdfs-2714.txt Attached trivial patch fixes the failing tests > 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