hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-1929) TestEditLogFileOutputStream fails if running on same host as NN
Date Fri, 13 May 2011 22:32:47 GMT

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

Patch which reworks the test to use a {{MiniDFSCluster}} instead of starting an NN manually.
I manually verified that running the test on my box with a process bound to 50070 passes,
whereas it failed before.

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

Mime
View raw message