You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2008/08/21 05:58:44 UTC

[jira] Created: (HADOOP-3985) TestHDFSServerPorts fails on trunk

TestHDFSServerPorts fails on trunk
----------------------------------

                 Key: HADOOP-3985
                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
            Reporter: Amar Kamat


{{TestHDFSServerPorts}} fails on trunk with

{noformat}
junit.framework.AssertionFailedError
        at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624474#action_12624474 ] 

Konstantin Shvachko commented on HADOOP-3985:
---------------------------------------------

I just successfully ran it on trunk.
What platform are you running it on?

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624546#action_12624546 ] 

Amar Kamat commented on HADOOP-3985:
------------------------------------

It is quite possible that another (stale) datanode was running on that machine. I tried it again on my box and it worked.

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.2
>            Reporter: Amar Kamat
>            Assignee: Hairong Kuang
>             Fix For: 0.19.0
>
>         Attachments: TestHDFSServerPorts.patch
>
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-3985:
----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Hairong!

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.2
>            Reporter: Amar Kamat
>            Assignee: Hairong Kuang
>             Fix For: 0.19.0
>
>         Attachments: TestHDFSServerPorts.patch
>
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624502#action_12624502 ] 

Hairong Kuang commented on HADOOP-3985:
---------------------------------------

The address binding error is caused by the datanode rpc server port which uses the default port number 50020 instead of the free port 0.

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624486#action_12624486 ] 

Raghu Angadi commented on HADOOP-3985:
--------------------------------------

No other unit test fails when there is hadoop running on the same machine. It is better if this one tolerates it too (at least with very high probability).


> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HADOOP-3985:
----------------------------------

    Attachment: TestHDFSServerPorts.patch

This is a patch that fixes the problem.

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>         Attachments: TestHDFSServerPorts.patch
>
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626588#action_12626588 ] 

Hudson commented on HADOOP-3985:
--------------------------------

Integrated in Hadoop-trunk #586 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/586/])

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.2
>            Reporter: Amar Kamat
>            Assignee: Hairong Kuang
>             Fix For: 0.19.0
>
>         Attachments: TestHDFSServerPorts.patch
>
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624482#action_12624482 ] 

Hairong Kuang commented on HADOOP-3985:
---------------------------------------

Looks that the failed test was caused by a datanode running on the same machine.

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-3985:
-------------------------------------------

        Assignee: Hairong Kuang
    Hadoop Flags: [Reviewed]

+1 patch looks good.

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>            Assignee: Hairong Kuang
>         Attachments: TestHDFSServerPorts.patch
>
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Lohit Vijayarenu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624269#action_12624269 ] 

Lohit Vijayarenu commented on HADOOP-3985:
------------------------------------------

Can you see if you had any DataNode already running before running this test?

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Amar Kamat
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3985) TestHDFSServerPorts fails on trunk

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HADOOP-3985:
----------------------------------

        Fix Version/s: 0.19.0
    Affects Version/s: 0.17.2
               Status: Patch Available  (was: Open)

> TestHDFSServerPorts fails on trunk
> ----------------------------------
>
>                 Key: HADOOP-3985
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3985
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.2
>            Reporter: Amar Kamat
>            Assignee: Hairong Kuang
>             Fix For: 0.19.0
>
>         Attachments: TestHDFSServerPorts.patch
>
>
> {{TestHDFSServerPorts}} fails on trunk with
> {noformat}
> junit.framework.AssertionFailedError
>         at org.apache.hadoop.hdfs.TestHDFSServerPorts.testDataNodePorts(TestHDFSServerPorts.java:186)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.