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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.patch
          5 kB
          Ivan Mitic
        2. HDFS-4586.trunk.3.patch
          5 kB
          Ivan Mitic
        3. HDFS-4586.trunk.2.patch
          5 kB
          Ivan Mitic

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: