You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2015/05/15 15:24:59 UTC

[jira] [Updated] (AMBARI-11168) Zookeeper implicitly depends on HDFS Client

     [ https://issues.apache.org/jira/browse/AMBARI-11168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Sen updated AMBARI-11168:
--------------------------------
    Attachment: AMBARI-11168.patch

> 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)