java.io.IOException: Cannot create directory /tmp/hadoop-root/dfs/name/current at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:311) at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:523) at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:544)

Google Groups | Pasquale Iodice | 2 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

    HELP!! docker/run-dev.sh problem!!!

    Google Groups | 2 years ago | Pasquale Iodice
    java.io.IOException: Cannot create directory /tmp/hadoop-root/dfs/name/current at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:311) at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:523) at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:544)

    Root Cause Analysis

    1. java.io.IOException

      Cannot create directory /tmp/hadoop-root/dfs/name/current at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:311) at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:523) at org.apache.hadoop.hdfs.server.namenode.NNStorage.format(NNStorage.java:544)

      at org.apache.hadoop.hdfs.server.namenode.FSImage.format()
    2. Apache Hadoop HDFS
      FSImage.format
      1. org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:147)
      1 frame