ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangxiaolu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-22894) Install zk error when cluster just only installed zk.
Date Thu, 01 Feb 2018 03:09:00 GMT

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

zhangxiaolu updated AMBARI-22894:
---------------------------------
    Status: Patch Available  (was: Open)

> 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
>    Affects Versions: trunk
>         Environment: cluster with only the service of zookeeper
>            Reporter: zhangxiaolu
>            Assignee: zhangxiaolu
>            Priority: Major
>             Fix For: trunk
>
>         Attachments: AMBARI-22894.patch, screenshot-1.png
>
>
> 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)

Mime
View raw message