java.lang.ArithmeticException: / by zero

Google Groups | Yi | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ArithmeticException

    / by zero

    at org.apache.hadoop.mapreduce.v2.app.rm.ResourceCalculatorUtils.computeAvailableContainers()
  2. hadoop-mapreduce-client-app
    RMCommunicator$1.run
    1. org.apache.hadoop.mapreduce.v2.app.rm.ResourceCalculatorUtils.computeAvailableContainers(ResourceCalculatorUtils.java:38)[hadoop-mapreduce-client-app-2.6.0.jar:?]
    2. org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.preemptReducesIfNeeded(RMContainerAllocator.java:461)[hadoop-mapreduce-client-app-2.6.0.jar:?]
    3. org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.heartbeat(RMContainerAllocator.java:258)[hadoop-mapreduce-client-app-2.6.0.jar:?]
    4. org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator$1.run(RMCommunicator.java:282)[hadoop-mapreduce-client-app-2.6.0.jar:?]
    4 frames
  3. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_77]
    1 frame