You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Szilard Nemeth (JIRA)" <ji...@apache.org> on 2018/11/15 20:33:00 UTC

[jira] [Updated] (YARN-7548) TestCapacityOverTimePolicy.testAllocation is flaky

     [ https://issues.apache.org/jira/browse/YARN-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Szilard Nemeth updated YARN-7548:
---------------------------------
    Description: 
It failed in both YARN-7337 and YARN-6921 jenkins jobs.

org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation[Duration 90,000,000, height 0.25, numSubmission 1, periodic 86400000)]

*Stacktrace*
{code:java}
junit.framework.AssertionFailedError: null
 at junit.framework.Assert.fail(Assert.java:55)
 at junit.framework.Assert.fail(Assert.java:64)
 at junit.framework.TestCase.fail(TestCase.java:235)
 at org.apache.hadoop.yarn.server.resourcemanager.reservation.BaseSharingPolicyTest.runTest(BaseSharingPolicyTest.java:146)
 at org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation(TestCapacityOverTimePolicy.java:136){code}
*Standard Output*
{code:java}
2017-11-20 23:57:03,759 INFO [main] recovery.RMStateStore (RMStateStore.java:transition(538)) - Storing reservation allocation.reservation_-9026698577416205920_6337917439559340517
 2017-11-20 23:57:03,759 INFO [main] recovery.RMStateStore (MemoryRMStateStore.java:storeReservationState(247)) - Storing reservationallocation for reservation_-9026698577416205920_6337917439559340517 for plan dedicated
 2017-11-20 23:57:03,760 INFO [main] reservation.InMemoryPlan (InMemoryPlan.java:addReservation(373)) - Successfully added reservation: reservation_-9026698577416205920_6337917439559340517 to plan.
 In-memory Plan: Parent Queue: dedicatedTotal Capacity: <memory:1024000, vCores:1000>Step: 1000reservation_-9026698577416205920_6337917439559340517 user:u1 startTime: 0 endTime: 86400000 Periodiciy: 86400000 alloc:
 [Period: 86400000
 0: <memory:256000, vCores:250>
 3423748: <memory:0, vCores:0>
 86223748: <memory:256000, vCores:250>
 86400000: <memory:0, vCores:0>
 9223372036854775807: null
 ]{code}

  was:
It failed in both YARN-7337 and YARN-6921 jenkins jobs.

org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation[Duration 90,000,000, height 0.25, numSubmission 1, periodic 86400000)]

*Stacktrace*

junit.framework.AssertionFailedError: null
	at junit.framework.Assert.fail(Assert.java:55)
	at junit.framework.Assert.fail(Assert.java:64)
	at junit.framework.TestCase.fail(TestCase.java:235)
	at org.apache.hadoop.yarn.server.resourcemanager.reservation.BaseSharingPolicyTest.runTest(BaseSharingPolicyTest.java:146)
	at org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation(TestCapacityOverTimePolicy.java:136)


*Standard Output*

2017-11-20 23:57:03,759 INFO  [main] recovery.RMStateStore (RMStateStore.java:transition(538)) - Storing reservation allocation.reservation_-9026698577416205920_6337917439559340517
2017-11-20 23:57:03,759 INFO  [main] recovery.RMStateStore (MemoryRMStateStore.java:storeReservationState(247)) - Storing reservationallocation for reservation_-9026698577416205920_6337917439559340517 for plan dedicated
2017-11-20 23:57:03,760 INFO  [main] reservation.InMemoryPlan (InMemoryPlan.java:addReservation(373)) - Successfully added reservation: reservation_-9026698577416205920_6337917439559340517 to plan.
In-memory Plan: Parent Queue: dedicatedTotal Capacity: <memory:1024000, vCores:1000>Step: 1000reservation_-9026698577416205920_6337917439559340517 user:u1 startTime: 0 endTime: 86400000 Periodiciy: 86400000 alloc:
[Period: 86400000
0: <memory:256000, vCores:250>
 3423748: <memory:0, vCores:0>
 86223748: <memory:256000, vCores:250>
 86400000: <memory:0, vCores:0>
 9223372036854775807: null
 ] 


> TestCapacityOverTimePolicy.testAllocation is flaky
> --------------------------------------------------
>
>                 Key: YARN-7548
>                 URL: https://issues.apache.org/jira/browse/YARN-7548
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: reservation system
>    Affects Versions: 3.0.0-beta1
>            Reporter: Haibo Chen
>            Assignee: Szilard Nemeth
>            Priority: Major
>
> It failed in both YARN-7337 and YARN-6921 jenkins jobs.
> org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation[Duration 90,000,000, height 0.25, numSubmission 1, periodic 86400000)]
> *Stacktrace*
> {code:java}
> junit.framework.AssertionFailedError: null
>  at junit.framework.Assert.fail(Assert.java:55)
>  at junit.framework.Assert.fail(Assert.java:64)
>  at junit.framework.TestCase.fail(TestCase.java:235)
>  at org.apache.hadoop.yarn.server.resourcemanager.reservation.BaseSharingPolicyTest.runTest(BaseSharingPolicyTest.java:146)
>  at org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy.testAllocation(TestCapacityOverTimePolicy.java:136){code}
> *Standard Output*
> {code:java}
> 2017-11-20 23:57:03,759 INFO [main] recovery.RMStateStore (RMStateStore.java:transition(538)) - Storing reservation allocation.reservation_-9026698577416205920_6337917439559340517
>  2017-11-20 23:57:03,759 INFO [main] recovery.RMStateStore (MemoryRMStateStore.java:storeReservationState(247)) - Storing reservationallocation for reservation_-9026698577416205920_6337917439559340517 for plan dedicated
>  2017-11-20 23:57:03,760 INFO [main] reservation.InMemoryPlan (InMemoryPlan.java:addReservation(373)) - Successfully added reservation: reservation_-9026698577416205920_6337917439559340517 to plan.
>  In-memory Plan: Parent Queue: dedicatedTotal Capacity: <memory:1024000, vCores:1000>Step: 1000reservation_-9026698577416205920_6337917439559340517 user:u1 startTime: 0 endTime: 86400000 Periodiciy: 86400000 alloc:
>  [Period: 86400000
>  0: <memory:256000, vCores:250>
>  3423748: <memory:0, vCores:0>
>  86223748: <memory:256000, vCores:250>
>  86400000: <memory:0, vCores:0>
>  9223372036854775807: null
>  ]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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