org.apache.hadoop.dfs.DataNode: java.io.IOException: No space left on device

hadoop-common-user | Joydeep Sen Sarma | 9 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

    RE: missing VERSION files leading to failed datanodes

    hadoop-common-user | 9 years ago | Joydeep Sen Sarma
    org.apache.hadoop.dfs.DataNode: java.io.IOException: No space left on device

    Root Cause Analysis

    1. org.apache.hadoop.dfs.DataNode

      java.io.IOException: No space left on device

      at java.io.FileOutputStream.writeBytes()
    2. Java RT
      Properties.store
      1. java.io.FileOutputStream.writeBytes(Native Method)
      2. java.io.FileOutputStream.write(FileOutputStream.java:260)
      3. sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
      4. sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
      5. sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
      6. sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
      7. java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
      8. java.io.BufferedWriter.flush(BufferedWriter.java:236)
      9. java.util.Properties.store(Properties.java:666)
      9 frames
    3. org.apache.hadoop
      DataNode.startDataNode
      1. org.apache.hadoop.dfs.Storage$StorageDirectory.write(Storage.java:176)
      2. org.apache.hadoop.dfs.Storage$StorageDirectory.write(Storage.java:164)
      3. org.apache.hadoop.dfs.Storage.writeAll(Storage.java:510)
      4. org.apache.hadoop.dfs.DataStorage.recoverTransitionRead(DataStorage.java:146)
      5. org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:243)
      5 frames