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 B57FB200B7C for ; Thu, 8 Sep 2016 22:07:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B4409160ABD; Thu, 8 Sep 2016 20:07:22 +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 DCD72160AD4 for ; Thu, 8 Sep 2016 22:07:21 +0200 (CEST) Received: (qmail 17926 invoked by uid 500); 8 Sep 2016 20:07:21 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 17794 invoked by uid 99); 8 Sep 2016 20:07:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 20:07:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D31372C1B85 for ; Thu, 8 Sep 2016 20:07:20 +0000 (UTC) Date: Thu, 8 Sep 2016 20:07:20 +0000 (UTC) From: "Swapan Shridhar (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18345) 'Stack advisor' validation code reports error while trying to access 'yarn.nodemanager.resource.memory-mb' config. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Sep 2016 20:07:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Swapan Shridhar updated AMBARI-18345: ------------------------------------- Component/s: ambari-server > 'Stack advisor' validation code reports error while trying to access 'yarn.nodemanager.resource.memory-mb' config. > ------------------------------------------------------------------------------------------------------------------ > > Key: AMBARI-18345 > URL: https://issues.apache.org/jira/browse/AMBARI-18345 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Swapan Shridhar > Assignee: Swapan Shridhar > Fix For: 2.4.1 > > Attachments: AMBARI-18345.patch > > > 'Stack advisor' validation code reports error while trying to access "yarn.nodemanager.resource.memory-mb" config. > *Reason:* > - Fn. 'validateHiveInteractiveSiteConfigurations' tried to query for config 'yarn.nodemanager.resource.memory-mb'. The config may not be passed in services[configurations], depending on which action triggered the validation. > - Fn. 'validateHiveInteractiveSiteConfigurations' was broken because it was trying to query config 'yarn.nodemanager.resource.memory-mb', without checking whether HSI is installed or not. > *Fix:* > - Moved the ''yarn.nodemanager.resource.memory-mb'' config query code once we have checked the presence of HSI. -- This message was sent by Atlassian JIRA (v6.3.4#6332)