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 14D78200C3E for ; Tue, 14 Feb 2017 00:17:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 13498160B60; Mon, 13 Feb 2017 23:17:46 +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 59941160B6C for ; Tue, 14 Feb 2017 00:17:45 +0100 (CET) Received: (qmail 33690 invoked by uid 500); 13 Feb 2017 23:17:44 -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 33681 invoked by uid 99); 13 Feb 2017 23:17:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2017 23:17:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 10834C05DF for ; Mon, 13 Feb 2017 23:17:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id mUxRF3iCtIfj for ; Mon, 13 Feb 2017 23:17:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DFDAF5FC4A for ; Mon, 13 Feb 2017 23:17:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 601AAE062C for ; Mon, 13 Feb 2017 23:17:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BFA9321D6D for ; Mon, 13 Feb 2017 23:17:41 +0000 (UTC) Date: Mon, 13 Feb 2017 23:17:41 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-19972) Stop All services call failed to stop flume agent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Feb 2017 23:17:46 -0000 [ https://issues.apache.org/jira/browse/AMBARI-19972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864646#comment-15864646 ] Hudson commented on AMBARI-19972: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #978 (See [https://builds.apache.org/job/Ambari-branch-2.5/978/]) AMBARI-19972. Stop All services call failed to stop flume (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b0af5f74181e9704eb9bf7fe8e897859885866ca]) * (edit) ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py * (edit) ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py > Stop All services call failed to stop flume agent > ------------------------------------------------- > > Key: AMBARI-19972 > URL: https://issues.apache.org/jira/browse/AMBARI-19972 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Yesha Vora > Assignee: Vitaly Brodetskyi > Fix For: 2.5.0 > > Attachments: AMBARI-19972.patch, flume_stop_stack_trace.log > > > Scenario: > * Install a cluster with Hadoop, Hive, Flume, Hbase, Spark > * Enable Wire encryption > ** While enabling wire encryption, script makes a rest call to stop all services. In this instance the WE stop all service failed to stop flume agent on one of the hosts > As per cluster state, Ambari failed to stop a2 agent on Host4. However stderr stack trace says it failed to stop a1 agent. > {code:title=stderr} > stderr: /var/lib/ambari-agent/data/errors-203.txt > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py", line 126, in > FlumeHandler().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 313, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py", line 60, in stop > flume(action='stop') > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py", line 226, in flume > raise Fail("Can't stop flume agent: {0}".format(agent)) > resource_management.core.exceptions.Fail: Can't stop flume agent: a1{code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)