[ https://issues.apache.org/jira/browse/HIVE-25994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich reassigned HIVE-25994: --------------------------------------- Assignee: Zoltan Haindrich > Analyze table runs into ClassNotFoundException-s in case binary distribution > is used > ------------------------------------------------------------------------------------ > > Key: HIVE-25994 > URL: https://issues.apache.org/jira/browse/HIVE-25994 > Project: Hive > Issue Type: Bug > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Fix For: 4.0.0-alpha-1 > > > any nightly release can be used to reproduce this: > {code} > create table t (a integer); insert into t values (1) ; analyze table t > compute statistics for columns; > {code} > results in > {code} > Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/CommonTree > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:757) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) > at java.net.URLClassLoader.access$100(URLClassLoader.java:74) > at java.net.URLClassLoader$1.run(URLClassLoader.java:369) > at java.net.URLClassLoader$1.run(URLClassLoader.java:363) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:362) > at java.lang.ClassLoader.loadClass(ClassLoader.java:419) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) > at java.lang.ClassLoader.loadClass(ClassLoader.java:352) > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) > at java.lang.Class.getConstructor0(Class.java:3075) > at java.lang.Class.getDeclaredConstructor(Class.java:2178) > at > org.apache.hive.com.esotericsoftware.reflectasm.ConstructorAccess.get(ConstructorAccess.java:65) > at > org.apache.hive.com.esotericsoftware.kryo.util.DefaultInstantiatorStrategy.newInstantiatorOf(DefaultInstantiatorStrategy.java:60) > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.newInstantiator(Kryo.java:1119) > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.newInstance(Kryo.java:1128) > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.create(FieldSerializer.java:153) > at > org.apache.hive.com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:118) > at > org.apache.hive.com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:729) > at > org.apache.hadoop.hive.ql.exec.SerializationUtilities$KryoWithHooks.readObject(SerializationUtilities.java:216) > at > org.apache.hive.com.esotericsoftware.kryo.serializers.ReflectField.read(ReflectField.java:125) > ... 38 more > Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.tree.CommonTree > at java.net.URLClassLoader.findClass(URLClassLoader.java:382) > at java.lang.ClassLoader.loadClass(ClassLoader.java:419) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) > at java.lang.ClassLoader.loadClass(ClassLoader.java:352) > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)