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 CB2EB18785 for ; Tue, 29 Dec 2015 11:06:35 +0000 (UTC) Received: (qmail 73601 invoked by uid 500); 29 Dec 2015 11:06:30 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 73557 invoked by uid 500); 29 Dec 2015 11:06:30 -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 73540 invoked by uid 99); 29 Dec 2015 11:06:30 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 11:06:30 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 8B0532967FA; Tue, 29 Dec 2015 11:06:29 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7643400321373345435==" MIME-Version: 1.0 Subject: Re: Review Request 41740: Role command order is parsed incorrectly causing Hive Service Check fail on 'Start all' From: "Andrew Onischuk" To: "Dmitro Lisnichenko" Cc: "Sumit Mohanty" , "Andrew Onischuk" , "Ambari" , "Alejandro Fernandez" , "Apache Ambari" Date: Tue, 29 Dec 2015 11:06:29 -0000 Message-ID: <20151229110629.4182.98669@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/41740/ X-Sender: "Andrew Onischuk" References: <20151228135223.4182.43917@reviews.apache.org> In-Reply-To: <20151228135223.4182.43917@reviews.apache.org> Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============7643400321373345435== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41740/ ----------------------------------------------------------- (Updated Dec. 29, 2015, 11:06 a.m.) Review request for Ambari and Dmitro Lisnichenko. Bugs: AMBARI-14504 https://issues.apache.org/jira/browse/AMBARI-14504 Repository: ambari Description ------- Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 106, in HiveServiceCheck().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py", line 103, in service_check webhcat_service_check() 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/HIVE/0.12.0.2.0/package/scripts/webhcat_service_check.py", line 124, in webhcat_service_check logoutput=True) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/tmp/templetonSmoke.sh os-r7-hdkhfu-devdeploy-3.novalocal ambari-qa 20111 idtest.ambari-qa.1451047104.22.pig no_keytab false kinit no_principal' returned 1. Templeton Smoke Test (status cmd): Failed. : http_code <000> Probably the reason is because Webhcat should start before Hive check Artifacts url: Diffs (updated) ----- ambari-server/pom.xml 17d3aae ambari-server/src/main/java/org/apache/ambari/server/metadata/RoleCommandOrder.java f424f81 ambari-server/src/main/java/org/apache/ambari/server/stack/StackDirectory.java 9cfeffe ambari-server/src/main/resources/role_command_order.json 870a537 ambari-server/src/test/resources/stacks/HDP/0.1/role_command_order.json PRE-CREATION ambari-server/src/test/resources/stacks/HDP/2.0.5/role_command_order.json PRE-CREATION Diff: https://reviews.apache.org/r/41740/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============7643400321373345435==--