[
https://issues.apache.org/jira/browse/AMBARI-14640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095150#comment-15095150
]
Hadoop QA commented on AMBARI-14640:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12781923/AMBARI-14640.trunk.patch
against trunk revision .
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/4887//console
This message is automatically generated.
> 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)