java.io.IOException

Failed to cache: Unable to request space from worker

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web16024

  • via Google Groups by Krishnaprasad, 1 year ago
    Failed to cache: Unable to request space from worker
  • Failed to cache: Unable to request space from worker
  • Fail to cache: Unable to request space from worker.
  • Stack trace

    • java.io.IOException: Failed to cache: Unable to request space from worker at alluxio.client.file.FileOutStream.handleCacheWriteException(FileOutStream.java:337) at alluxio.client.file.FileOutStream.write(FileOutStream.java:293) at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:58) at java.io.DataOutputStream.write(DataOutputStream.java:107) at org.apache.hadoop.mapreduce.lib.output.TextOutputFormat$LineRecordWriter.writeObject(TextOutputFormat.java:83) at org.apache.hadoop.mapreduce.lib.output.TextOutputFormat$LineRecordWriter.write(TextOutputFormat.java:98) at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(ReduceTask.java:558) at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89) at org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer$Context.write(WrappedReducer.java:105) at com.flytxt.bigdata.mr.WordCount$IntSumReducer.reduce(WordCount.java:101) at com.flytxt.bigdata.mr.WordCount$IntSumReducer.reduce(WordCount.java:90) at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171) at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:627) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) Caused by: java.io.IOException: Unable to request space from worker at alluxio.client.block.LocalBlockOutStream.requestSpace(LocalBlockOutStream.java:137) at alluxio.client.block.LocalBlockOutStream.flush(LocalBlockOutStream.java:114) at alluxio.client.block.BufferedBlockOutStream.write(BufferedBlockOutStream.java:104) at alluxio.client.file.FileOutStream.write(FileOutStream.java:284) ... 17 more

    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

    You’re the first here who have seen this exception.