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 81A851091D for ; Tue, 25 Feb 2014 18:40:30 +0000 (UTC) Received: (qmail 56925 invoked by uid 500); 25 Feb 2014 18:40:21 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 56882 invoked by uid 500); 25 Feb 2014 18:40:20 -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 56871 invoked by uid 99); 25 Feb 2014 18:40:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 18:40:20 +0000 Date: Tue, 25 Feb 2014 18:40:20 +0000 (UTC) From: "Hitesh Shah (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1758) MiniYARNCluster broken post YARN-1666 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-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911863#comment-13911863 ] Hitesh Shah commented on YARN-1758: ----------------------------------- [~ozawa] The problem is due to the loading of yarn-site.xml and other resources in ResourceManager::serviceInit(). It does not show up in yarn tests as the yarn-site.xml is added into yarn-resourcemanager-tests.jar I believe. However, for all downstream projects, they depend on hadoop-yarn-server-tests-tests.jar for MiniYarnCluster which itself does not have the necessary yarn-site, etc. I think the fix might be as simple as moving the required configs from hadoop-yarn-server-resourcemanager/src/test/resources/ to hadoop-yarn-server-tests/src/test/resources/ so that the required confs are bundled in the same tests jar. > MiniYARNCluster broken post YARN-1666 > ------------------------------------- > > Key: YARN-1758 > URL: https://issues.apache.org/jira/browse/YARN-1758 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Hitesh Shah > > NPE seen when trying to use MiniYARNCluster -- This message was sent by Atlassian JIRA (v6.1.5#6160)