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

Bibin A Chundatt edited comment on YARN-5491 at 8/12/16 8:26 AM:
-----------------------------------------------------------------

Looks like the issue is caused due below

Explaining testcase states:
# Queue A 2048MB(1 container) and Queue B 13GB(13 containers)
# 2GB (1 container) submitted to Queue A and 1GB(1 container) added to Queue B 
# ExpireEvent for 2 containers for Queue B app 2 is send
# Randomly container on queue B which is waiting is not allocated. Mostly 
because we have limit of ANY request that can be served.

Tried running locally with patch about 60 times its success.



was (Author: bibinchundatt):
Looks like the issue is caused due below

Explaining testcase states:
# Queue A 2048MB(1 container) and Queue B 13GB(13 containers)
# 2GB (1 container) submitted to Queue A and 1GB(1 container) added to Queue B 
# ExpireEvent for 2 containers for Queue B app 2 is send
# Randomly container on queue B which is waiting is not allocated. Mostly 
because we have limit of ANY request that can be served.

Tried running locally the patch about 60 times its passing fine.



> Random Failure TestCapacityScheduler#testCSQueueBlocked
> -------------------------------------------------------
>
>                 Key: YARN-5491
>                 URL: https://issues.apache.org/jira/browse/YARN-5491
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Bibin A Chundatt
>            Assignee: Ajith S
>         Attachments: Failure-TestCapacityScheduler-output.txt, 
> Sucess-TestCapacityScheduler-output.txt, YARN-5491.0001.patch
>
>
> Random testcase failure in trunk for 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testCSQueueBlocked
> https://builds.apache.org/job/PreCommit-YARN-Build/12694/testReport/org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity/TestCapacityScheduler/testCSQueueBlocked/
> {noformat}
> java.lang.AssertionError: B Used Resource should be 12 GB expected:<12288> 
> but was:<11264>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testCSQueueBlocked(TestCapacityScheduler.java:3667)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to