The reduce fails due to Task attempt failed to report status for 600 seconds. Killing! Solution?

前端 未结 2 742
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 11:10

The reduce phase of the job fails with:

of failed Reduce Tasks exceeded allowed limit.

The reason why each task fails is:

Task attempt_201301251556_163

2条回答
  •  滥情空心
    2021-02-06 11:27

    It's possible that you might have consumed all of Java's heap space or GC is happening too frequently giving no chance to the reducer to report status to master and is hence killed.

    Another possibility is that one of the reducer is getting too skewed data, i.e. for a particular rid, a lot of records are there.

    Try to increase your java heap by setting the following config: mapred.child.java.opts

    to

    -Xmx2048m

    Also, try and reduce the number of parallel reducers by setting the following config to a lower value than what it currently has (default value is 2):

    mapred.tasktracker.reduce.tasks.maximum

提交回复
热议问题