java.io.IOException: Cannot create directory /usr/local/hadoop/yarn_data/hdfs/namenode/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

Solutions on the web

via bigdatahandler.com by Unknown author, 1 year ago
Cannot create directory /usr/local/hadoop/yarn_data/hdfs/namenode/current
via Stack Overflow by user4654
, 1 year ago
Cannot create directory /usr/local/hadoop_store/hdfs/namenode/current
via Stack Overflow by Valjean
, 1 year ago
Cannot create directory /usr/local/hadoop_store/hdfs/namenode/current
via Stack Overflow by Belphegor
, 2 years ago
Cannot remove current directory: /usr/local/hadoop_store/hdfs/namenode/current
via Stack Overflow by Auguster
, 2 years ago
Cannot create directory /Users/hadoop/hadoop/bin/hdfs/namenode/current
via Apache's JIRA Issue Tracker by Yaniv Kaul, 1 year ago
Cannot create directory /home/hadoop/hadoopdata/hdfs/namenode/current
java.io.IOException: Cannot create directory /usr/local/hadoop/yarn_data/hdfs/namenode/current
at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:301)
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(FSImage.java:147)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:837)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1213)

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.