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 8B7CF200C8E for ; Thu, 8 Jun 2017 18:02:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8A2F4160BD5; Thu, 8 Jun 2017 16:02:58 +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 D09F0160BCA for ; Thu, 8 Jun 2017 18:02:57 +0200 (CEST) Received: (qmail 56070 invoked by uid 500); 8 Jun 2017 16:02:57 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 56061 invoked by uid 99); 8 Jun 2017 16:02:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2017 16:02:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9F78EDFBC6; Thu, 8 Jun 2017 16:02:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alexantonenko@apache.org To: commits@ambari.apache.org Message-Id: <25bd296f211e42ff9e5dc9e6493fc018@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-21184. When trying to Add Hiveserver2 service on a node, we just get a pop-up dialog box, and then a spinning wheel. Unable to click "Confirm Add" (alexantonenko) Date: Thu, 8 Jun 2017 16:02:56 +0000 (UTC) archived-at: Thu, 08 Jun 2017 16:02:58 -0000 Repository: ambari Updated Branches: refs/heads/branch-2.5 f0226e0e5 -> 5ba0259e2 AMBARI-21184. When trying to Add Hiveserver2 service on a node, we just get a pop-up dialog box, and then a spinning wheel. Unable to click "Confirm Add" (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5ba0259e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5ba0259e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5ba0259e Branch: refs/heads/branch-2.5 Commit: 5ba0259e2daceffc6507f6f61d591f16b4bda3e1 Parents: f0226e0 Author: Alex Antonenko Authored: Thu Jun 8 17:19:00 2017 +0300 Committer: Alex Antonenko Committed: Thu Jun 8 19:02:50 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/utils/config.js | 2 +- ambari-web/test/utils/config_test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/5ba0259e/ambari-web/app/utils/config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js index 88e2cf4..86b01ef 100644 --- a/ambari-web/app/utils/config.js +++ b/ambari-web/app/utils/config.js @@ -1268,7 +1268,7 @@ App.config = Em.Object.create({ getTempletonHiveHosts: function (value) { var pattern = /thrift:\/\/.+:\d+/, patternMatch = value.match(pattern); - return patternMatch ? patternMatch[0].split('\\,') : value; + return patternMatch ? patternMatch[0].split('\\,') : []; }, /** http://git-wip-us.apache.org/repos/asf/ambari/blob/5ba0259e/ambari-web/test/utils/config_test.js ---------------------------------------------------------------------- diff --git a/ambari-web/test/utils/config_test.js b/ambari-web/test/utils/config_test.js index ffedc23..8b1dbeb 100644 --- a/ambari-web/test/utils/config_test.js +++ b/ambari-web/test/utils/config_test.js @@ -1162,7 +1162,7 @@ describe('App.config', function () { }, { value: 'hive.metastore.local=false', - result: 'hive.metastore.local=false', + result: [], message: 'no hosts list' } ];