java.io.IOException: Cannot create directory /usr/local/hadoop-datastore/hadoop/dfs/name/current

Ask Ubuntu | ATMathew | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error when formatting the Hadoop filesystem

    Ask Ubuntu | 6 years ago | ATMathew
    java.io.IOException: Cannot create directory /usr/local/hadoop-datastore/hadoop/dfs/name/current
  2. 0

    hadoop java.io.IOException: while running namenode -format

    Stack Overflow | 5 years ago | alex
    java.io.IOException: Cannot create directory /your/path/to/hadoop/tmp/dir/hadoop-hadoop/dfs/name/current
  3. 0

    hadoop java.io.IOException: while running namenode -format on OSX

    Stack Overflow | 3 years ago | Auguster
    java.io.IOException: Cannot create directory /Users/hadoop/hadoop/bin/hdfs/namenode/current
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    namenode.NameNode: Could not initialize shared edits dir

    Stack Overflow | 2 years ago | user3539638
    java.io.IOException: NameNode is not formatted.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Cannot create directory /usr/local/hadoop-datastore/hadoop/dfs/name/current

      at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory()
    2. Apache Hadoop HDFS
      NameNode.main
      1. org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:295)
      2. org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1086)
      3. org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1110)
      4. org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:856)
      5. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:948)
      6. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:965)
      6 frames