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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Ask Ubuntu by ATMathew
, 1 year ago
Cannot create directory /usr/local/hadoop-datastore/hadoop/dfs/name/current
via tecadmin.net by Unknown author, 11 months ago
Cannot create directory /opt/hadoop/hadoop/dfs/name/current
via Stack Overflow by alex
, 11 months ago
Cannot create directory /your/path/to/hadoop/tmp/dir/hadoop-hadoop/dfs/name/current
via Ask Ubuntu by user3524632
, 1 year ago
Cannot remove current directory: /app/hadoop/tmp/dfs/name/current
via Google Groups by Pasquale Iodice, 1 year ago
Cannot create directory /tmp/hadoop-root/dfs/name/current
via bigdatahandler.com by Unknown author, 1 year ago
Cannot create directory /usr/local/hadoop/yarn_data/hdfs/namenode/current
java.io.IOException: Cannot create directory /usr/local/hadoop-datastore/hadoop/dfs/name/current
at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:295)
at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1086)
at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1110)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:856)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:948)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.