You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2015/12/09 15:52:11 UTC

[jira] [Updated] (AMBARI-14293) While doing express upgrade multiple Clients and Services Failed to start

     [ https://issues.apache.org/jira/browse/AMBARI-14293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko updated AMBARI-14293:
----------------------------------------
    Attachment: AMBARI-14293.patch

> While doing express upgrade multiple Clients and Services Failed to start
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-14293
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14293
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14293.patch
>
>
> 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 <module>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)