Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.7.4
Description
ZKMigration tool doesn't bundled with zookeeper-jute, what caused the issue on de-Kerberization of the cluster
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HIVE/package/scripts/hive_server.py", line 143, in <module> HiveServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HIVE/package/scripts/hive_server.py", line 124, in disable_security zkmigrator.set_acls(self._base_node(params.hive_cluster_token_zkstore), 'world:anyone:crdwa') File "/usr/lib/ambari-agent/lib/resource_management/core/resources/zkmigrator.py", line 43, in set_acls tries=tries) File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run returns=self.resource.returns) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/lib/jvm/java-openjdk/bin/java -Djava.security.auth.login.config=/usr/hdp/current/hive-server2/conf/zkmigrator_jaas.conf -jar /var/lib/ambari-agent/tools/zkmigrator.jar -connection-string ctr-e141 -znode /hive -acl world:anyone:crdwa' returned 1. Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jute/Record tat org.apache.ambari.tools.zk.ZkConnection.open(ZkConnection.java:43) tat org.apache.ambari.tools.zk.ZkMigrator.setAcls(ZkMigrator.java:111) tat org.apache.ambari.tools.zk.ZkMigrator.main(ZkMigrator.java:45) Caused by: java.lang.ClassNotFoundException: org.apache.jute.Record tat java.net.URLClassLoader.findClass(URLClassLoader.java:381) tat java.lang.ClassLoader.loadClass(ClassLoader.java:424) tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) tat java.lang.ClassLoader.loadClass(ClassLoader.java:357) t... 3 more
Attachments
Issue Links
- links to