hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6353) Divide by zero error in MR AM when calculating available containers
Date Sat, 09 May 2015 21:56:00 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14536920#comment-14536920
] 

Hudson commented on MAPREDUCE-6353:
-----------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7786 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7786/])
MAPREDUCE-6353. Divide by zero error in MR AM when calculating available containers. (Anubhav
Dhoot via kasha) (kasha: rev 1773aac780585871072960a5863af461e112a030)
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/ResourceCalculatorUtils.java
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/rm/TestResourceCalculatorUtils.java
* hadoop-mapreduce-project/CHANGES.txt


> Divide by zero error in MR AM when calculating available containers
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6353
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6353
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mr-am
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>             Fix For: 2.8.0
>
>         Attachments: MAPREDUCE-6353.001.patch, MAPREDUCE-6353.002.patch, MAPREDUCE-6353.002.patch
>
>
> When running a sleep job with zero CPU vcores i see the following exception
> 2015-04-30 06:41:06,954 ERROR [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator:
ERROR IN CONTACTING RM. 
> java.lang.ArithmeticException: / by zero
> at org.apache.hadoop.mapreduce.v2.app.rm.ResourceCalculatorUtils.computeAvailableContainers(ResourceCalculatorUtils.java:38)
> at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator$ScheduledRequests.assign(RMContainerAllocator.java:947)
> at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator$ScheduledRequests.access$200(RMContainerAllocator.java:840)
> at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.heartbeat(RMContainerAllocator.java:247)
> at org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator$1.run(RMCommunicator.java:282)
> at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message