Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E260E200AEE for ; Tue, 3 May 2016 18:23:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E0B731609A9; Tue, 3 May 2016 18:23:14 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3D1F21609F4 for ; Tue, 3 May 2016 18:23:14 +0200 (CEST) Received: (qmail 2006 invoked by uid 500); 3 May 2016 16:23:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 1992 invoked by uid 99); 3 May 2016 16:23:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2016 16:23:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E02532C1F64 for ; Tue, 3 May 2016 16:23:12 +0000 (UTC) Date: Tue, 3 May 2016 16:23:12 +0000 (UTC) From: "Kuhu Shukla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5024) TestContainerResourceUsage#testUsageAfterAMRestartWithMultipleContainers random failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 03 May 2016 16:23:15 -0000 [ https://issues.apache.org/jira/browse/YARN-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268980#comment-15268980 ] Kuhu Shukla commented on YARN-5024: ----------------------------------- [~bibinchundatt], patch looks good, I verified locally that failures are not seen for multiple runs. I wonder though if we need to call {{drainEvents}} after nodeheartbeats to ensure that allocations work as intended. > TestContainerResourceUsage#testUsageAfterAMRestartWithMultipleContainers random failure > --------------------------------------------------------------------------------------- > > Key: YARN-5024 > URL: https://issues.apache.org/jira/browse/YARN-5024 > Project: Hadoop YARN > Issue Type: Test > Reporter: Bibin A Chundatt > Attachments: 0001-YARN-5024.patch, 0002-YARN-5024.patch > > > Random Testcase failure for {{TestContainerResourceUsage#testUsageAfterAMRestartWithMultipleContainers}} > {noformat} > java.lang.AssertionError: Unexcpected MemorySeconds value expected:<-1497214794931> but was:<1913> > 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.TestContainerResourceUsage.amRestartTests(TestContainerResourceUsage.java:395) > at org.apache.hadoop.yarn.server.resourcemanager.TestContainerResourceUsage.testUsageAfterAMRestartWithMultipleContainers(TestContainerResourceUsage.java:252) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org