[
https://issues.apache.org/jira/browse/AMBARI-11168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545786#comment-14545786
]
Hudson commented on AMBARI-11168:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2609 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2609/])
AMBARI-11168 Zookeeper implicitly depends on HDFS Client (dsen) (dsen:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9085d9ee66e6f2d174415c26213ba1ce6ec01817)
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py
*
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
> Zookeeper implicitly depends on HDFS Client
> -------------------------------------------
>
> Key: AMBARI-11168
> URL: https://issues.apache.org/jira/browse/AMBARI-11168
> Project: Ambari
> Issue Type: Bug
> Components: stacks
> Affects Versions: 2.1.0
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-11168.patch
>
>
> *STR*
> Install cluster
> Leave some node without any component (at least hdfs related)
> Install Zookeeper to that node
> Start Zookeeper
> *Expected*
> Zookeeper start normally
> *Actual*
> Zookeper fails to start
> {code}
> 2015-05-14 14:37:01,394 - Error while executing command 'start':
> Traceback (most recent call last):
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 214, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
> line 33, in hook
> setup_hadoop()
> File
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py",
> line 67, in setup_hadoop
> content=Template('commons-logging.properties.j2')
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
> line 148, in __init__
> self.env.run()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 152, in run
> self.run_action(resource, action)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 118, in run_action
> provider_action()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
> line 105, in action_create
> raise Fail("Applying %s failed, parent directory %s doesn't exist" %
> (self.resource, dirname))
> Fail: Applying
> File['/usr/hdp/current/hadoop-client/conf/commons-logging.properties']
> failed, parent directory /usr/hdp/current/hadoop-client/conf doesn't exist
> 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-58.json',
> '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START',
> '/var/lib/ambari-agent/data/structured-out-58.json', 'INFO',
> '/var/lib/ambari-agent/data/tmp']
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)