You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2016/01/12 22:34:39 UTC
[jira] [Updated] (AMBARI-14640) Cluster deployment fails due to
undeclared hadoop_conf_dir when Hadoop components not installed
[ https://issues.apache.org/jira/browse/AMBARI-14640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Fernandez updated AMBARI-14640:
-----------------------------------------
Attachment: AMBARI-14640.trunk.patch
> Cluster deployment fails due to undeclared hadoop_conf_dir when Hadoop components not installed
> -----------------------------------------------------------------------------------------------
>
> Key: AMBARI-14640
> URL: https://issues.apache.org/jira/browse/AMBARI-14640
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.1
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Fix For: 2.2.1
>
> Attachments: AMBARI-14640.trunk.patch
>
>
> Installing a cluster where there are hosts without hadoop installed will run into the following error:
> {code}
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
> AfterInstallHook().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 237, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 32, in hook
> setup_config()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 53, in setup_config
> if params.hadoop_conf_dir is not None and os.path.exists(params.hadoop_conf_dir):
> AttributeError: 'module' object has no attribute 'hadoop_conf_dir'
> {code}
> STR:
> - Install a new cluster with only ZK
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)