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

zhangxiaolu updated AMBARI-22894:
---------------------------------
    Labels: trunk  (was: pull-request-available)

> Install zk error when cluster just only installed zk.
> -----------------------------------------------------
>
>                 Key: AMBARI-22894
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22894
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>         Environment: cluster with only the service of zookeeper
>            Reporter: zhangxiaolu
>            Assignee: zhangxiaolu
>            Priority: Major
>              Labels: trunk
>             Fix For: trunk
>
>         Attachments: AMBARI-22894.patch, screenshot-1.png
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> cluster with only the service of zookeeper.
>  
> when start zk, error is like this:
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
>  line 40, in <module>
>     BeforeStartHook().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 314, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
>  line 28, in hook
>     import params
>   File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py",
>  line 320, in <module>
>     if namenode_rpc:
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
>  line 73, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in 
> configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter 'core-site' 
> was not found in configurations dictionary!
> Error: Error: Unable to run the custom hook script ['/usr/bin/python', 
> '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py',
>  'START', '/var/lib/ambari-agent/data/command-31.json', 
> '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START', 
> '/var/lib/ambari-agent/data/structured-out-31.json', 'INFO', 
> '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1']



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to