ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12676) Upgrades Fail When Calling conf-select On hadoop When hadoop Is Not Installed
Date Fri, 07 Aug 2015 20:22:46 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662371#comment-14662371
] 

Hudson commented on AMBARI-12676:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3247 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3247/])
AMBARI-12676 - Upgrades Fail When Calling conf-select On hadoop When hadoop Is Not Installed
(jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ba3a2caa53ad9bf426664041f32abfb2d8df959d)
* ambari-server/src/test/python/stacks/2.3/MAHOUT/test_mahout_client.py
* ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py


> Upgrades Fail When Calling conf-select On hadoop When hadoop Is Not Installed
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-12676
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12676
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.1.0
>         Environment: - 4-node cluster with HDFS, YARN, ZK
> - Ensure that the 4th node has nothing except for ZK server/client (ie no hadoop components)
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12676.patch
>
>
> {code}
> Traceback (most recent call last): 
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
line 40, in <module> 
> BeforeStartHook().execute() 
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, 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 111, in <module> 
> hadoop_conf_dir = conf_select.get_hadoop_conf_dir(force_latest_on_upgrade=True) 
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py",
line 273, in get_hadoop_conf_dir 
> select(stack_name, "hadoop", stack_version) 
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py",
line 241, 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
hadoop --stack-version 2.3.0.0-2557 --conf-version 0' returned 1. hadoop not installed or
incorrect package name 
> Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py',
'START', '/var/lib/ambari-agent/data/command-2262.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START',
'/var/lib/ambari-agent/data/structured-out-2262.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
> {code}
> This is a special case for "hadoop" since it's the before-START script hooks that are
invoking it. It manifests where starting a component on a host that doesn't have hadoop installed
(daemons or clients).



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

Mime
View raw message