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 BDC9718661 for ; Tue, 15 Dec 2015 17:07:24 +0000 (UTC) Received: (qmail 34637 invoked by uid 500); 15 Dec 2015 17:07:24 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 34598 invoked by uid 500); 15 Dec 2015 17:07:24 -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 34577 invoked by uid 99); 15 Dec 2015 17:07:24 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2015 17:07:24 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A2B152AE5D8; Tue, 15 Dec 2015 17:07:23 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0937253827598141953==" MIME-Version: 1.0 Subject: Re: Review Request 41138: [preview]While doing express upgrade multiple Clients and Services Failed to start From: "Dmitro Lisnichenko" To: "Alejandro Fernandez" , "Jayush Luniya" , "Dmytro Grinenko" , "Nate Cole" , "Jonathan Hurley" Cc: "Ambari" Date: Tue, 15 Dec 2015 17:07:23 -0000 Message-ID: <20151215170723.19749.33203@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/41138/ X-Sender: "Dmitro Lisnichenko" References: <20151209184658.1619.70538@reviews.apache.org> In-Reply-To: <20151209184658.1619.70538@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============0937253827598141953== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Dec. 9, 2015, 8:46 p.m., Alejandro Fernandez wrote: > > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, line 188 > > > > > > It's not clear here what args[1] is. We should at least document its format, e.g., 2.3, 2.3.0.0, or 2.3.0.0-1234 already documented by Alejandro - Dmitro ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41138/#review109580 ----------------------------------------------------------- On Dec. 15, 2015, 7:06 p.m., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/41138/ > ----------------------------------------------------------- > > (Updated Dec. 15, 2015, 7:06 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Dmytro Grinenko, Jonathan Hurley, Jayush Luniya, and Nate Cole. > > > Bugs: AMBARI-14293 > https://issues.apache.org/jira/browse/AMBARI-14293 > > > Repository: ambari > > > Description > ------- > > During nightly run over Centos7 express upgrade test cases failed because of TEZ Client issue. > > Restart of Tez Client failed after upgrade because of conf file missing. > > After logging on box I found the soft links /etc/tez/conf & /usr/hdp/current/tez-client/conf pointing in loop to each other. > > [root@os-r7-test-2 tez-client]# ls -l /usr/hdp/2.3.4.0-3426/tez/conf > lrwxrwxrwx. 1 root root 13 Dec 8 05:05 /usr/hdp/2.3.4.0-3426/tez/conf -> /etc/tez/conf > [root@os-r7-test-2 tez-client]# ls -l /etc/tez/conf > lrwxrwxrwx. 1 root root 32 Dec 8 02:23 /etc/tez/conf -> /usr/hdp/current/tez-client/conf > [root@os-r7-test-2 tez-client]# ls -l /usr/hdp/current/tez-client/conf > lrwxrwxrwx. 1 root root 13 Dec 8 05:05 /usr/hdp/current/tez-client/conf -> /etc/tez/conf > [root@os-r7-test-2 tez-client]# > > > Error on UI > {code} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/TEZ/0.4.0.2.1/package/scripts/tez_client.py", line 104, in > TezClient().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 217, in execute > method(env) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 486, in restart > self.pre_upgrade_restart(env, upgrade_type=upgrade_type) > File "/var/lib/ambari-agent/cache/common-services/TEZ/0.4.0.2.1/package/scripts/tez_client.py", line 59, in pre_upgrade_restart > conf_select.select(params.stack_name, "tez", params.version) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py", line 247, in select > shell.checked_call(get_cmd("set-conf-dir", package, version), logoutput=False, quiet=False, sudo=True) > 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 'conf-select set-conf-dir --package tez --stack-version 2.3.4.0-3426 --conf-version 0' returned 1. /usr/hdp/2.3.4.0-3426/tez/conf does not exist > {code} > > > Observed this issue for other components too AFTER 'Ignore and Proceed' the Tez client error > The error was seen for following components: > Pig client, Hive server, Metastore, Hive client, Spark service, spark client. See attached file for output > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py cd3fa5c > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py ae66fe0 > > Diff: https://reviews.apache.org/r/41138/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Dmitro Lisnichenko > > --===============0937253827598141953==--