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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/05/16 04:28:16 UTC

[jira] Created: (HADOOP-1373) checkPath() throws IllegalArgumentException

checkPath() throws IllegalArgumentException
-------------------------------------------

                 Key: HADOOP-1373
                 URL: https://issues.apache.org/jira/browse/HADOOP-1373
             Project: Hadoop
          Issue Type: Bug
    Affects Versions: 0.12.3
         Environment: Windows, Linux
            Reporter: Konstantin Shvachko
             Fix For: 0.13.0


This was introduced recently in one of the patches committed around 05/15 or 05/14.
I am running TestDFSIO on a two node cluster. Here is the exception I get

07/05/15 19:14:53 INFO mapred.TaskInProgress: Error from task_0001_m_000007_0: java.lang.IllegalArgumentException: Wrong FS: hdfs://MY-HOST:7017/benchmarks/TestDFSIO/io_control/in_file_test_io_7, expected: hdfs://my-host:7017
    at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:230)
    at org.apache.hadoop.dfs.DistributedFileSystem$RawDistributedFileSystem.getPath(DistributedFileSystem.java:110)
    at org.apache.hadoop.dfs.DistributedFileSystem$RawDistributedFileSystem.exists(DistributedFileSystem.java:170)
    at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:168)
    at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:335)
    at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1162)
    at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1156)
    at org.apache.hadoop.mapred.SequenceFileRecordReader.<init>(SequenceFileRecordReader.java:40)
    at org.apache.hadoop.mapred.SequenceFileInputFormat.getRecordReader(SequenceFileInputFormat.java:54)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:149)
    at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1709)

I confess, my config on one of the machines specifies name-node "MY-HOST:7017" and on the other one "my-host:7017".
But that was acceptable before and should stay that way in the future afaiu.

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


[jira] Updated: (HADOOP-1373) checkPath() throws IllegalArgumentException

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

Sameer Paranjpye updated HADOOP-1373:
-------------------------------------

    Component/s: fs

> checkPath() throws IllegalArgumentException
> -------------------------------------------
>
>                 Key: HADOOP-1373
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1373
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.12.3
>         Environment: Windows, Linux
>            Reporter: Konstantin Shvachko
>             Fix For: 0.14.0
>
>
> This was introduced recently in one of the patches committed around 05/15 or 05/14.
> I am running TestDFSIO on a two node cluster. Here is the exception I get
> 07/05/15 19:14:53 INFO mapred.TaskInProgress: Error from task_0001_m_000007_0: java.lang.IllegalArgumentException: Wrong FS: hdfs://MY-HOST:7017/benchmarks/TestDFSIO/io_control/in_file_test_io_7, expected: hdfs://my-host:7017
>     at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:230)
>     at org.apache.hadoop.dfs.DistributedFileSystem$RawDistributedFileSystem.getPath(DistributedFileSystem.java:110)
>     at org.apache.hadoop.dfs.DistributedFileSystem$RawDistributedFileSystem.exists(DistributedFileSystem.java:170)
>     at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:168)
>     at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:335)
>     at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1162)
>     at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1156)
>     at org.apache.hadoop.mapred.SequenceFileRecordReader.<init>(SequenceFileRecordReader.java:40)
>     at org.apache.hadoop.mapred.SequenceFileInputFormat.getRecordReader(SequenceFileInputFormat.java:54)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:149)
>     at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1709)
> I confess, my config on one of the machines specifies name-node "MY-HOST:7017" and on the other one "my-host:7017".
> But that was acceptable before and should stay that way in the future afaiu.

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


[jira] Updated: (HADOOP-1373) checkPath() throws IllegalArgumentException

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

Nigel Daley updated HADOOP-1373:
--------------------------------

    Fix Version/s:     (was: 0.13.0)
                   0.14.0

> checkPath() throws IllegalArgumentException
> -------------------------------------------
>
>                 Key: HADOOP-1373
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1373
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.12.3
>         Environment: Windows, Linux
>            Reporter: Konstantin Shvachko
>             Fix For: 0.14.0
>
>
> This was introduced recently in one of the patches committed around 05/15 or 05/14.
> I am running TestDFSIO on a two node cluster. Here is the exception I get
> 07/05/15 19:14:53 INFO mapred.TaskInProgress: Error from task_0001_m_000007_0: java.lang.IllegalArgumentException: Wrong FS: hdfs://MY-HOST:7017/benchmarks/TestDFSIO/io_control/in_file_test_io_7, expected: hdfs://my-host:7017
>     at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:230)
>     at org.apache.hadoop.dfs.DistributedFileSystem$RawDistributedFileSystem.getPath(DistributedFileSystem.java:110)
>     at org.apache.hadoop.dfs.DistributedFileSystem$RawDistributedFileSystem.exists(DistributedFileSystem.java:170)
>     at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:168)
>     at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:335)
>     at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1162)
>     at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1156)
>     at org.apache.hadoop.mapred.SequenceFileRecordReader.<init>(SequenceFileRecordReader.java:40)
>     at org.apache.hadoop.mapred.SequenceFileInputFormat.getRecordReader(SequenceFileInputFormat.java:54)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:149)
>     at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1709)
> I confess, my config on one of the machines specifies name-node "MY-HOST:7017" and on the other one "my-host:7017".
> But that was acceptable before and should stay that way in the future afaiu.

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