You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/01/20 03:43:54 UTC

[jira] Created: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

TestDistributedFileSystem fails with Wrong FS on weird hosts
------------------------------------------------------------

                 Key: HDFS-908
                 URL: https://issues.apache.org/jira/browse/HDFS-908
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 0.20.1
            Reporter: Todd Lipcon


On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:

Testcase: testFileChecksum took 0.492 sec
  Caused an ERROR
Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
  at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
  at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
  at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
  at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)

Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Commented: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803824#action_12803824 ] 

Todd Lipcon commented on HDFS-908:
----------------------------------

Actually, that patch fixed the machine that used to not work, but now another machine that used to work doesn't work anymore :( Will upload a better patch when I figure one out.

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>         Attachments: hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Updated: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

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

Todd Lipcon updated HDFS-908:
-----------------------------

    Attachment: hdfs-908.txt

This patch against branch-0.20 fixes it for me.

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>         Attachments: hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Updated: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

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

Tsz Wo (Nicholas), SZE updated HDFS-908:
----------------------------------------

    Status: Patch Available  (was: Open)

Try Hudson.

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-908.txt, hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Updated: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

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

Jakob Homan updated HDFS-908:
-----------------------------

    Priority: Minor  (was: Major)

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-908.txt, hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Updated: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

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

Tsz Wo (Nicholas), SZE updated HDFS-908:
----------------------------------------

    Hadoop Flags: [Reviewed]
        Assignee: Todd Lipcon

+1 patch looks good.

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-908.txt, hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Commented: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

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

Jakob Homan commented on HDFS-908:
----------------------------------

Hudson's AWOL.  Todd, please run tests and test-patch manually so this can be committed.

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-908.txt, hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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


[jira] Updated: (HDFS-908) TestDistributedFileSystem fails with Wrong FS on weird hosts

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

Todd Lipcon updated HDFS-908:
-----------------------------

    Attachment: hdfs-908.txt

Here's a new patch that fixes this issues on all the hosts I've tried it on

> TestDistributedFileSystem fails with Wrong FS on weird hosts
> ------------------------------------------------------------
>
>                 Key: HDFS-908
>                 URL: https://issues.apache.org/jira/browse/HDFS-908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>         Attachments: hdfs-908.txt, hdfs-908.txt
>
>
> On the same host where I experienced HDFS-874, I also experience this failure for TestDistributedFileSystem:
> Testcase: testFileChecksum took 0.492 sec
>   Caused an ERROR
> Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
> java.lang.IllegalArgumentException: Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: hftp://127.0.0.1:59782
>   at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>   at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
>   at org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
>   at org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)
> Doesn't appear to occur on trunk or branch-0.21.

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