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

TestDFSShell fails on Windows.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.17.0
    • 0.17.0
    • fs
    • None
    • Windows

    Description

      TestDFSShell.testPut() fails with the following exception:

      Pathname /C:/Hadoop/build/test/data/f1 from C:/Hadoop/build/test/data/f1 is not a valid DFS filename.
      java.lang.IllegalArgumentException: Pathname /C:/Hadoop/build/test/data/f1 from C:/Hadoop/build/test/data/f1 is not a valid DFS filename.
      	at org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:112)
      	at org.apache.hadoop.dfs.DistributedFileSystem.exists(DistributedFileSystem.java:184)
      	at org.apache.hadoop.dfs.TestDFSShell.testPut(TestDFSShell.java:214)
      

      Looks like that Path treats windows drive letter incorrectly.
      Not sure which path introduced it, but needs to be fixed for 0.17 imo.

      Attachments

        1. HADOOP-3114-1.patch
          1 kB
          Lohit Vijaya Renu

        Activity

          People

            lohit Lohit Vijaya Renu
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: