Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A4A21859C for ; Wed, 27 Jan 2016 06:39:45 +0000 (UTC) Received: (qmail 17764 invoked by uid 500); 27 Jan 2016 06:39:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 17721 invoked by uid 500); 27 Jan 2016 06:39:40 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 17710 invoked by uid 99); 27 Jan 2016 06:39:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2016 06:39:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C70CC2C1F57 for ; Wed, 27 Jan 2016 06:39:39 +0000 (UTC) Date: Wed, 27 Jan 2016 06:39:39 +0000 (UTC) From: "Rohith Sharma K S (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4548) TestCapacityScheduler.testRecoverRequestAfterPreemption fails with NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118740#comment-15118740 ] Rohith Sharma K S commented on YARN-4548: ----------------------------------------- [~suda] thanks for your effort for analyzing the test case failure. Recently YARN-4502 committed which makes recovering resource request has called synchronously. This ensures that resource request has been restored when {{cs.killPreemptedContainer(rmContainer);}} called. So random test failure like this will not happen any more. > TestCapacityScheduler.testRecoverRequestAfterPreemption fails with NPE > ---------------------------------------------------------------------- > > Key: YARN-4548 > URL: https://issues.apache.org/jira/browse/YARN-4548 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Akihiro Suda > Attachments: YARN-4548-1.patch, YARN-4548-2.patch, yarn-4548.log > > > {code} > testRecoverRequestAfterPreemption(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler) Time elapsed: 5.552 sec > <<< ERROR! > java.lang.NullPointerException: null > at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler.testRecoverRequestAfterPreemption(TestCapacitySch > eduler.java:1263) > {code} > https://github.com/apache/hadoop/blob/d36b6e045f317c94e97cb41a163aa974d161a404/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestCapacityScheduler.java#L1260-L1263 > Jenkins also hit this two months ago: https://mail-archives.apache.org/mod_mbox/hadoop-yarn-dev/201510.mbox/%3C1100047319.7290.1446252743553.JavaMail.jenkins@crius%3E > My Hadoop version: 4e4b3a8465a8433e78e015cb1ce7e0dc1ebeb523 (Dec 30, 2015) -- This message was sent by Atlassian JIRA (v6.3.4#6332)