You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/02/24 20:53:20 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15163646#comment-15163646 ]
Hudson commented on AMBARI-14640:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #4382 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4382/])
AMBARI-14640. Cluster deployment fails due to undeclared hadoop_conf_dir (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a7af25247de32b2d337ef92c1e27c85c274ce1cc])
* ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
> 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)