Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25360

Disable Kerberos failed at hive with CNF exception

    XMLWordPrintableJSON

Details

    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

        Activity

          People

            hapylestat Dmytro Grinenko
            hapylestat Dmytro Grinenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h