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 2009/03/12 12:34:52 UTC

[jira] Created: (HADOOP-5477) TestCLI fails

TestCLI fails
-------------

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




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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Jakob Homan updated HADOOP-5477:
--------------------------------

    Status: Open  (was: Patch Available)

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Tsz Wo (Nicholas), SZE commented on HADOOP-5477:
------------------------------------------------

Does "localhost.*" suppose to match  "localhost.localdomain" only?

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Amareshwari Sriramadasu commented on HADOOP-5477:
-------------------------------------------------

On Linux RHEL box, the test consistently fails. Applyig the patch, test passed.

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Amareshwari Sriramadasu updated HADOOP-5477:
--------------------------------------------

    Attachment: TEST-org.apache.hadoop.cli.TestCLI.txt

Attaching the failed test-log

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>         Attachments: TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Jakob Homan updated HADOOP-5477:
--------------------------------

    Status: Patch Available  (was: Open)

submitting new patch.

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Jakob Homan updated HADOOP-5477:
--------------------------------

    Attachment: HADOOP-5477.patch

The problem is an edge case in the TestCLI unit test for the recently committed SLG work.  This patch fixes it.

Passes all unit tests
{noformat}
     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 4 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec] 
     [exec]     +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
     [exec] 
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
{noformat}

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Tsz Wo (Nicholas), SZE commented on HADOOP-5477:
------------------------------------------------

Hi Amareshwari, what was the environment you used to reproduce the failure?

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Jakob Homan updated HADOOP-5477:
--------------------------------

    Status: Patch Available  (was: Open)

Submitting patch.

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Konstantin Shvachko commented on HADOOP-5477:
---------------------------------------------

It makes sense to escape dots in "127.0.0.1"

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Chris Douglas updated HADOOP-5477:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I committed this. Thanks, Jacob

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Hudson commented on HADOOP-5477:
--------------------------------

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

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Hadoop QA commented on HADOOP-5477:
-----------------------------------

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

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

    +1 tests included.  The patch appears to include 4 new or modified tests.

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

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

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

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

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

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

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

This message is automatically generated.

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Jakob Homan commented on HADOOP-5477:
-------------------------------------

The patch is worth committing because localhost.localdomain is a valid variant.  However, I can't find anywhere why some machines are configured like this.  Does anyone know?  A question was raised, however, as to why we've not run into this issue before, since we rely on identifying localhost in other parts of the code.  If we haven't failed before on this type of check, why now? Amareshwari, do you happen to know how your machine got configured like this?

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Jakob Homan commented on HADOOP-5477:
-------------------------------------

Works for me on trunk on OSX and RHEL:
{noformat}
    [junit] Running org.apache.hadoop.cli.TestCLI
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 33.676 sec
{noformat}

{noformat}
    [junit] Running org.apache.hadoop.cli.TestCLI
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 98.256 sec
{noformat}

Any logs/output for greater detail?

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

Jakob Homan updated HADOOP-5477:
--------------------------------

    Attachment: HADOOP-5477.patch

Updated patch to escape periods.  Previously the regexp only accepted localhost as a valid hostname, now it accepts localhost*, for systems that report localhost.localdomain or such.

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Assigned: (HADOOP-5477) TestCLI fails

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

Jakob Homan reassigned HADOOP-5477:
-----------------------------------

    Assignee: Jakob Homan

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Commented: (HADOOP-5477) TestCLI fails

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

Jakob Homan commented on HADOOP-5477:
-------------------------------------

bq. Does "localhost.*" suppose to match "localhost.localdomain" only? 
No, it'll match anything for the domain, which would be legal.  All we care about is getting back localhost.

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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


[jira] Updated: (HADOOP-5477) TestCLI fails

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

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

    Component/s: test

> TestCLI fails
> -------------
>
>                 Key: HADOOP-5477
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5477
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Amar Kamat
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5477.patch, HADOOP-5477.patch, TEST-org.apache.hadoop.cli.TestCLI.txt
>
>


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