java.io.IOException

Cannot remove current directory: /app/hadoop/tmp/dfs/name/current

Solutions on the web10645

  • 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
  • Cannot create directory /your/path/to/hadoop/tmp/dir/hadoop-hadoop/dfs/name/current
  • Stack trace

    • java.io.IOException: Cannot remove current directory: /app/hadoop/tmp/dfs
    • ame/current at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.clearDirectory(Storage.java:292) at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1326) at org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:1345) at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1207) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1398) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1419)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago