Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09CD318D51 for ; Mon, 19 Oct 2015 22:11:28 +0000 (UTC) Received: (qmail 33982 invoked by uid 500); 19 Oct 2015 22:11:27 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 33949 invoked by uid 500); 19 Oct 2015 22:11:27 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 33930 invoked by uid 99); 19 Oct 2015 22:11:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2015 22:11:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B62E92C033A for ; Mon, 19 Oct 2015 22:11:27 +0000 (UTC) Date: Mon, 19 Oct 2015 22:11:27 +0000 (UTC) From: "Oleksandr Diachenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13479) Handle derivation of hawq's yarn related parameters where yarn is not configured 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/AMBARI-13479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964150#comment-14964150 ] Oleksandr Diachenko commented on AMBARI-13479: ---------------------------------------------- +1 on the patch. > Handle derivation of hawq's yarn related parameters where yarn is not configured > -------------------------------------------------------------------------------- > > Key: AMBARI-13479 > URL: https://issues.apache.org/jira/browse/AMBARI-13479 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: trunk > Reporter: bhuvnesh chaudhary > Assignee: bhuvnesh chaudhary > Attachments: AMBARI-13479.patch > > > In ambari-web/app/utils/configs/config_property_helper.js, the value of masterComponentHostsInDB.findProperty('component', 'RESOURCEMANAGER').hostName is calculated irrespective if Yarn resourcemanager is configured or not. In cases, where Yarn resourcemanager is not configured, masterComponentHostsInDB.findProperty('component', 'RESOURCEMANAGER') will result in undefined and will eventually result in Uncaught TypeError while trying to get the value of hostName. -- This message was sent by Atlassian JIRA (v6.3.4#6332)