[jira] Created: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
TestCopyFiles with IllegalArgumentException on Windows
------------------------------------------------------

                 Key: HADOOP-1599
                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
             Project: Hadoop
          Issue Type: Bug
          Components: fs
    Affects Versions: 0.14.0
            Reporter: Nigel Daley
            Priority: Blocker
             Fix For: 0.14.0


3 of the TestCopyFiles test cases fail on Windows since
http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
Looks like they all failed due to:

Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
        at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
        at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
        at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
        at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
        at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
        at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)

    [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512200 ]

Konstantin Shvachko commented on HADOOP-1599:
---------------------------------------------

This was reported earlier under HADOOP-1533

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur reassigned HADOOP-1599:
----------------------------------------

    Assignee: Senthil Subramanian

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-1599:
----------------------------------------

    Attachment: DistUpgradeStatus2.patch

I slightly changed the way how data-nodes handle missed upgrades.
There is a method in data-node upgrade object preUpgradeAction(),
which determines whether the upgrade is to be started by the data-node
itself or it should wait for the name-node to initiate the upgrade process.
The self-startup happens after the data-node registration but before sending
the first heartbeat. The upgrade object should be able to distinguish whether
the upgrade started by the data-node or by the name-node, since in the former
case the name-node is not expected to receive any upgrade commands.

A also incremented the DatanodeProtocol version, which I forgot to do in my previous patch.

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: DistUpgradeStatus2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-1599:
----------------------------------------

    Attachment:     (was: DistUpgradeStatus2.patch)

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-1599:
----------------------------------------

    Comment: was deleted

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senthil Subramanian updated HADOOP-1599:
----------------------------------------

    Attachment: HADOOP-1599_1.patch

Normalize paths so that Distcp and the associated test case work on windows.

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_1.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senthil Subramanian updated HADOOP-1599:
----------------------------------------

    Attachment:     (was: HADOOP-1599_1.patch)

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senthil Subramanian updated HADOOP-1599:
----------------------------------------

    Attachment: HADOOP-1599_2.patch

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senthil Subramanian updated HADOOP-1599:
----------------------------------------

    Status: Patch Available  (was: Open)

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

    [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512534 ]

dhruba borthakur commented on HADOOP-1599:
------------------------------------------

+1 Code looks good.

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

    [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512643 ]

Hadoop QA commented on HADOOP-1599:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12361720/HADOOP-1599_2.patch applied and successfully tested against trunk revision r555813.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/407/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/407/console

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows

Hudson (Jira)
In reply to this post by Hudson (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1599:
---------------------------------

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

I just committed this.  Thanks, Senthil!

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

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