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 1905C200BC0 for ; Tue, 15 Nov 2016 21:16:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 17C5C160B15; Tue, 15 Nov 2016 20:16:00 +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 6A1EC160AF2 for ; Tue, 15 Nov 2016 21:15:59 +0100 (CET) Received: (qmail 43815 invoked by uid 500); 15 Nov 2016 20:15:58 -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 43796 invoked by uid 99); 15 Nov 2016 20:15:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 20:15:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7DE8E2C0D55 for ; Tue, 15 Nov 2016 20:15:58 +0000 (UTC) Date: Tue, 15 Nov 2016 20:15:58 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16834) Any start command fails if AMS is installed. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Nov 2016 20:16:00 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668161#comment-15668161 ] Hudson commented on AMBARI-16834: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #328 (See [https://builds.apache.org/job/Ambari-branch-2.5/328/]) AMBARI-16834. Any start command fails if AMS is installed. (aonischuk (avijayan: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2845140b070da184f91e375c9da0955a546a58f9]) * (edit) ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py * (edit) ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py * (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/hadoop-metrics2.properties.j2 * (edit) ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py * (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py > Any start command fails if AMS is installed. > -------------------------------------------- > > Key: AMBARI-16834 > URL: https://issues.apache.org/jira/browse/AMBARI-16834 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Labels: ambari-metrics, ambari-server > Fix For: 2.5.0 > > Attachments: AMBARI-16834.patch > > > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 39, in > BeforeStartHook().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 254, in execute > method(env) > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 28, in hook > import params > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py", line 145, in > metric_collector_hosts += host + ':' + metric_collector_port + ',' > TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str' > Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py', 'START', '/var/lib/ambari-agent/data/command-9.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START', '/var/lib/ambari-agent/data/structured-out-9.json', 'INFO', '/var/lib/ambari-agent/tmp'] > -- This message was sent by Atlassian JIRA (v6.3.4#6332)