java.io.IOException: Failed to cache: Unable to request space from worker

Google Groups | Krishnaprasad | 8 months 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

    Alluxio copyFromLocal fails

    Google Groups | 8 months ago | Krishnaprasad
    java.io.IOException: Failed to cache: Unable to request space from worker
  2. 0

    Alluxio doesn't write file into lower tier if higher tier is full

    Google Groups | 3 months ago | Zaicheng Wang
    java.io.IOException: Failed to cache: Not enough space left on worker ip-10-10-48-40.ec2.internal/10.10.48.40:29998 to store blockId 3808428037. Please consult http://www.alluxio.org/docs/1.3/en/Debugging-Guide.html for common solutions to address this problem.

    Root Cause Analysis

    1. java.io.IOException

      Unable to request space from worker

      at alluxio.client.block.LocalBlockOutStream.requestSpace()
    2. alluxio.client.block
      BufferedBlockOutStream.write
      1. alluxio.client.block.LocalBlockOutStream.requestSpace(LocalBlockOutStream.java:137)
      2. alluxio.client.block.LocalBlockOutStream.flush(LocalBlockOutStream.java:114)
      3. alluxio.client.block.BufferedBlockOutStream.write(BufferedBlockOutStream.java:104)
      3 frames
    3. alluxio.client.file
      FileOutStream.write
      1. alluxio.client.file.FileOutStream.write(FileOutStream.java:284)
      1 frame
    4. Hadoop
      FSDataOutputStream$PositionCache.write
      1. org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:58)
      1 frame
    5. Java RT
      DataOutputStream.write
      1. java.io.DataOutputStream.write(DataOutputStream.java:107)
      1 frame
    6. Hadoop
      WrappedReducer$Context.write
      1. org.apache.hadoop.mapreduce.lib.output.TextOutputFormat$LineRecordWriter.writeObject(TextOutputFormat.java:83)
      2. org.apache.hadoop.mapreduce.lib.output.TextOutputFormat$LineRecordWriter.write(TextOutputFormat.java:98)
      3. org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(ReduceTask.java:558)
      4. org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89)
      5. org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer$Context.write(WrappedReducer.java:105)
      5 frames
    7. com.flytxt.bigdata
      WordCount$IntSumReducer.reduce
      1. com.flytxt.bigdata.mr.WordCount$IntSumReducer.reduce(WordCount.java:101)
      2. com.flytxt.bigdata.mr.WordCount$IntSumReducer.reduce(WordCount.java:90)
      2 frames
    8. Hadoop
      YarnChild$2.run
      1. org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171)
      2. org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:627)
      3. org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
      4. org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
      4 frames
    9. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    10. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656)
      1 frame
    11. Hadoop
      YarnChild.main
      1. org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
      1 frame