Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1599

TestCopyFiles with IllegalArgumentException on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • fs
    • None

    Description

      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)

      Attachments

        1. HADOOP-1599_2.patch
          2 kB
          Senthil Subramanian

        Issue Links

          Activity

            People

              senthil Senthil Subramanian
              nidaley Nigel Daley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: