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 "Raghu Angadi (JIRA)" <ji...@apache.org> on 2007/12/17 21:15:43 UTC

[jira] Created: (HADOOP-2446) TestHDFSServerPorts fails.

TestHDFSServerPorts fails.
--------------------------

                 Key: HADOOP-2446
                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
             Project: Hadoop
          Issue Type: Bug
    Affects Versions: 0.16.0
            Reporter: Raghu Angadi
             Fix For: 0.16.0
         Attachments: TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt

This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.

I will attach the test output.


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


[jira] Updated: (HADOOP-2446) TestHDFSServerPorts fails.

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

Raghu Angadi updated HADOOP-2446:
---------------------------------

    Attachment: HADOOP-2446.patch

Its not related to running DFS. I don't know why Hudson is not failing. The attached patch fixes the problem.

Konstantin, could you check if the fix is ok? I am not really sure what exactly the test is doing and this patch might just be hiding the problem. Thanks.


> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Commented: (HADOOP-2446) TestHDFSServerPorts fails.

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

Hadoop QA commented on HADOOP-2446:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12372543/HADOOP-2446.patch
against trunk revision .

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1472/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1472/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1472/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1472/console

This message is automatically generated.

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs, test
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Nigel Daley
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Updated: (HADOOP-2446) TestHDFSServerPorts fails.

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

Nigel Daley updated HADOOP-2446:
--------------------------------

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

I just committed this.

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs, test
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Nigel Daley
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Updated: (HADOOP-2446) TestHDFSServerPorts fails.

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

Nigel Daley updated HADOOP-2446:
--------------------------------

    Attachment: HADOOP-2446.patch

The attached patch fixes TestHDFSServerPorts and TestMRServerPorts so that they do not rely on statically configured ports.  These tests also now will shutdown the NameNode if another error is encountered.

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs, test
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Konstantin Shvachko
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Updated: (HADOOP-2446) TestHDFSServerPorts fails.

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

Nigel Daley updated HADOOP-2446:
--------------------------------

    Assignee: Nigel Daley  (was: Konstantin Shvachko)
      Status: Patch Available  (was: Open)

Submitting patch.  Konstantine, can you please code review?

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs, test
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Nigel Daley
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Updated: (HADOOP-2446) TestHDFSServerPorts fails.

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

Arun C Murthy updated HADOOP-2446:
----------------------------------

    Component/s: test
                 dfs

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs, test
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Konstantin Shvachko
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Assigned: (HADOOP-2446) TestHDFSServerPorts fails.

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

Raghu Angadi reassigned HADOOP-2446:
------------------------------------

    Assignee: Konstantin Shvachko

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Konstantin Shvachko
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Updated: (HADOOP-2446) TestHDFSServerPorts fails.

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

Raghu Angadi updated HADOOP-2446:
---------------------------------

    Attachment: TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>             Fix For: 0.16.0
>
>         Attachments: TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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


[jira] Commented: (HADOOP-2446) TestHDFSServerPorts fails.

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

Konstantin Shvachko commented on HADOOP-2446:
---------------------------------------------

+1 on Nigel's patch
Yes this the right fix. 
The test failed not because something was running on a specific port but since the server did not close on the previous run.

> TestHDFSServerPorts fails.
> --------------------------
>
>                 Key: HADOOP-2446
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2446
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs, test
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Nigel Daley
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2446.patch, HADOOP-2446.patch, TEST-org.apache.hadoop.dfs.TestHDFSServerPorts.txt
>
>
> This might be because I already have Namenode running on my machine. Its better if the unit tests could tolerate another DFS instance running on the same machine.  Otherwise we might get used to seeing unit test failures and miss the new failures.
> I will attach the test output.

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