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 63AFA200B2B for ; Tue, 28 Jun 2016 15:46:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 62399160A56; Tue, 28 Jun 2016 13:46:01 +0000 (UTC) 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 A6E14160A28 for ; Tue, 28 Jun 2016 15:46:00 +0200 (CEST) Received: (qmail 19296 invoked by uid 500); 28 Jun 2016 13:45:58 -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 18945 invoked by uid 99); 28 Jun 2016 13:45:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2016 13:45:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90B992C1F74 for ; Tue, 28 Jun 2016 13:45:57 +0000 (UTC) Date: Tue, 28 Jun 2016 13:45:57 +0000 (UTC) From: "Hadoop QA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4954) TestYarnClient.testReservationAPIs fails on machines with less than 4 GB available memory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 28 Jun 2016 13:46:01 -0000 [ https://issues.apache.org/jira/browse/YARN-4954?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15352= 998#comment-15352998 ]=20 Hadoop QA commented on YARN-4954: --------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s {= color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 5s {col= or} | {color:red} YARN-4954 does not apply to trunk. Rebase required? Wrong= Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {colo= r} | \\ \\ || Subsystem || Report/Notes || | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/1279847= 2/YARN-4954.001.patch | | JIRA Issue | YARN-4954 | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/12155= /console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > TestYarnClient.testReservationAPIs fails on machines with less than 4 GB = available memory > -------------------------------------------------------------------------= ---------------- > > Key: YARN-4954 > URL: https://issues.apache.org/jira/browse/YARN-4954 > Project: Hadoop YARN > Issue Type: Test > Components: test > Affects Versions: 3.0.0-alpha1 > Reporter: Gergely Nov=C3=A1k > Assignee: Gergely Nov=C3=A1k > Priority: Minor > Attachments: YARN-4954.001.patch > > > TestYarnClient.testReservationAPIs sometimes fails with this error: > {noformat} > java.lang.AssertionError: org.apache.hadoop.yarn.server.resourcemanager.r= eservation.exceptions.PlanningException: The request cannot be satisfied > =09at org.apache.hadoop.yarn.ipc.RPCUtil.getRemoteException(RPCUtil.java:= 38) > =09at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submi= tReservation(ClientRMService.java:1254) > =09at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtoco= lPBServiceImpl.submitReservation(ApplicationClientProtocolPBServiceImpl.jav= a:457) > =09at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationC= lientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:51= 5) > =09at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.c= all(ProtobufRpcEngine.java:637) > =09at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989) > =09at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2422) > =09at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2418) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at javax.security.auth.Subject.doAs(Subject.java:415) > =09at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInfor= mation.java:1742) > =09at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2416) > Caused by: org.apache.hadoop.yarn.server.resourcemanager.reservation.exce= ptions.PlanningException: The request cannot be satisfied > =09at org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.= IterativePlanner.computeJobAllocation(IterativePlanner.java:151) > =09at org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.= PlanningAlgorithm.allocateUser(PlanningAlgorithm.java:64) > =09at org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.= PlanningAlgorithm.createReservation(PlanningAlgorithm.java:140) > =09at org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.= TryManyReservationAgents.createReservation(TryManyReservationAgents.java:55= ) > =09at org.apache.hadoop.yarn.server.resourcemanager.reservation.planning.= AlignedPlannerWithGreedy.createReservation(AlignedPlannerWithGreedy.java:84= ) > =09at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submi= tReservation(ClientRMService.java:1237) > =09... 10 more > =09at org.junit.Assert.fail(Assert.java:88) > =09at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.testReservati= onAPIs(TestYarnClient.java:1227) > {noformat} > This is caused by really not having enough available memory to complete t= he reservation (4 * 1024 MB). In my opinion lowering the required memory (e= ither by lowering the number of containers to 2, or the memory to 512 MB) w= ould make the test more stable.=20 -- 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