ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-12676) Upgrades Fail When Calling conf-select On hadoop When hadoop Is Not Installed
Date Fri, 07 Aug 2015 14:47:46 GMT
Jonathan Hurley created AMBARI-12676:

             Summary: Upgrades Fail When Calling conf-select On hadoop When hadoop Is Not
                 Key: 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

Traceback (most recent call last): 
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/", line
40, in <module> 
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line
218, in execute 
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/", line
28, in hook 
import params 
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/",
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/",
line 273, in get_hadoop_conf_dir 
select(stack_name, "hadoop", stack_version) 
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/",
line 241, in select 
shell.checked_call(get_cmd("set-conf-dir", package, version), logoutput=False, quiet=False,
File "/usr/lib/python2.6/site-packages/resource_management/core/", line 70, in inner

result = function(command, **kwargs) 
File "/usr/lib/python2.6/site-packages/resource_management/core/", line 92, in checked_call

tries=tries, try_sleep=try_sleep) 
File "/usr/lib/python2.6/site-packages/resource_management/core/", line 140, in _call_wrapper

result = _call(command, **kwargs_copy) 
File "/usr/lib/python2.6/site-packages/resource_management/core/", line 291, in _call

raise Fail(err_msg) 
resource_management.core.exceptions.Fail: Execution of 'conf-select set-conf-dir --package
hadoop --stack-version --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/',
'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']

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

View raw message