You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Priyo Mustafi (JIRA)" <ji...@apache.org> on 2011/02/04 20:06:31 UTC

[jira] Created: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hiphen (-)

TestMRCLI fails when hostname has a hiphen (-)
----------------------------------------------

                 Key: MAPREDUCE-2304
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: test
    Affects Versions: 0.22.0
         Environment: Linux
            Reporter: Priyo Mustafi
            Assignee: Priyo Mustafi
            Priority: Minor


TestMRCLI fails with below

Comparator: [RegexpComparator]
Comparision result:   [fail]
Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hyphen (-)

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

Jakob Homan updated MAPREDUCE-2304:
-----------------------------------

    Summary: TestMRCLI fails when hostname has a hyphen (-)  (was: TestMRCLI fails when hostname has a hiphen (-))

> TestMRCLI fails when hostname has a hyphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hiphen (-)

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

Priyo Mustafi updated MAPREDUCE-2304:
-------------------------------------

    Attachment: MAPREDUCE-2304.patch

The host can and have numeric. Interestingly the test works on windows without the patch

> TestMRCLI fails when hostname has a hiphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hyphen (-)

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

Konstantin Shvachko commented on MAPREDUCE-2304:
------------------------------------------------

It probably has to do something with configuration files on this machine you ran into the issue. Because if you run tests with the default configuration only, then you should just have localhost or 0.0.0.0 as a hostname. But it's a good catch, and extends the applicability of the test.
+1

> TestMRCLI fails when hostname has a hyphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hyphen (-)

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

Konstantin Shvachko resolved MAPREDUCE-2304.
--------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
     Hadoop Flags: [Reviewed]

I just committed this. Thank you Priyo.

> TestMRCLI fails when hostname has a hyphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hyphen (-)

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

Hudson commented on MAPREDUCE-2304:
-----------------------------------

Integrated in Hadoop-Mapreduce-22-branch #33 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-22-branch/33/])
    

> TestMRCLI fails when hostname has a hyphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAPREDUCE-2304) TestMRCLI fails when hostname has a hyphen (-)

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

Hudson commented on MAPREDUCE-2304:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #604 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/604/])
    MAPREDUCE-2304. Fix TestMRCLI to allow hostname with a hyphen (-). Contributed by Priyo Mustafi.


> TestMRCLI fails when hostname has a hyphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2304) TestMRCLI fails when hostname has a hyphen (-)

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

Hudson commented on MAPREDUCE-2304:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #643 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/])
    

> TestMRCLI fails when hostname has a hyphen (-)
> ----------------------------------------------
>
>                 Key: MAPREDUCE-2304
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2304
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.22.0
>         Environment: Linux
>            Reporter: Priyo Mustafi
>            Assignee: Priyo Mustafi
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-2304.patch
>
>
> TestMRCLI fails with below
> Comparator: [RegexpComparator]
> Comparision result:   [fail]
> Expected output: [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://\w+[.a-z]*:[0-9]+]
> Actual output:   [mv: Wrong FS: har:/dest/dir0.har/dir0/file0, expected: hdfs://lab-something.host.com:34039

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira