Created on 05-29-2016 06:07 AM - edited 08-19-2019 04:50 AM
i have the problem
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py", line 179, in <module> ZookeeperServer().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py", line 70, in install self.configure(env) File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper_server.py", line 49, in configure zookeeper(type='server', upgrade_type=upgrade_type) File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk return fn(*args, **kwargs) File "/var/lib/ambari-agent/cache/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper.py", line 40, in zookeeper conf_select.select(params.stack_name, "zookeeper", params.current_version) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py", line 252, in select shell.checked_call(get_cmd("set-conf-dir", package, version), logoutput=False, quiet=False, sudo=True) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of 'conf-select set-conf-dir --package zookeeper --stack-version 2.4.0.0-169 --conf-version 0' returned 1. /usr/hdp/2.4.0.0-169/zookeeper/conf does not exist
but, i have files
some guys can help me please!
Created 05-29-2016 02:39 PM
That error is thrown when /usr/hdp/2.4.0.0-169/zookeeper/conf doesn't exist, and also when it exists but is not a symlink. Try to organize the links manually in this way, and move the files to /etc/zookeeper/2.4.0.0-169/0
/etc/zookeeper/conf -> /usr/hdp/current/zookeeper-client/conf /usr/hdp/current/zookeeper-client/conf -> /etc/zookeeper/2.4.0.0-169/0
Created 05-29-2016 02:39 PM
That error is thrown when /usr/hdp/2.4.0.0-169/zookeeper/conf doesn't exist, and also when it exists but is not a symlink. Try to organize the links manually in this way, and move the files to /etc/zookeeper/2.4.0.0-169/0
/etc/zookeeper/conf -> /usr/hdp/current/zookeeper-client/conf /usr/hdp/current/zookeeper-client/conf -> /etc/zookeeper/2.4.0.0-169/0
Created on 05-30-2016 10:38 AM - edited 08-19-2019 04:49 AM
hey, i try to move /usr/hdp/current/zookeeper-client/conf to /etc/zookeeper/2.4.0.0-169/ , i can't find /usr/hdp/current/zookeeper-client/
and i can't find /etc/zookeeper/.
so, can you tell why? and do you have other ways?