[ https://issues.apache.org/jira/browse/HDFS-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated HDFS-1929: --------------------------------- Attachment: hdfs-1929.1.patch Thanks for the review, Todd. Here's an updated patch which sets numDataNodes to 0. This sped up the run of this test case by 10 seconds. > TestEditLogFileOutputStream fails if running on same host as NN > --------------------------------------------------------------- > > Key: HDFS-1929 > URL: https://issues.apache.org/jira/browse/HDFS-1929 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Aaron T. Myers > Attachments: hdfs-1929.0.patch, hdfs-1929.1.patch > > > This test instantiates NameNode directly rather than using MiniDFSCluster, so > it tries to claim the default port 50070 rather than using an ephemeral one. > This makes the test fail if you are running a NN on the same machine where > you're running the test. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira