Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4586

TestDataDirs.testGetDataDirsFromURIs fails with all directories in dfs.datanode.data.dir are invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • None
    • None
    • Reviewed

    Description

      Error Message
      All directories in dfs.datanode.data.dir are invalid: "/p1" "/p2" "/p3"
      Stacktrace

      java.io.IOException: All directories in dfs.datanode.data.dir are invalid: "/p1" "/p2" "/p3" 
      	at org.apache.hadoop.hdfs.server.datanode.DataNode.getDataDirsFromURIs(DataNode.java:1668)
      	at org.apache.hadoop.hdfs.server.datanode.TestDataDirs.testGetDataDirsFromURIs(TestDataDirs.java:53)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      Seems like Jenkins will return -1 on all HDFS patches because of this (check HDFS-4583)

      Attachments

        1. HDFS-4586.trunk.2.patch
          5 kB
          Ivan Mitic
        2. HDFS-4586.trunk.3.patch
          5 kB
          Ivan Mitic
        3. HDFS-4586.trunk.patch
          5 kB
          Ivan Mitic

        Issue Links

          Activity

            People

              ivanmi Ivan Mitic
              ivanmi Ivan Mitic
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: