Hi,

I've a problem when i try to connect hive 3.1.0 with jdbc .
I've got this error msg :

*Caused by: java.lang.reflect.InvocationTargetException*
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)
... 36 more
*Caused by: java.lang.NoSuchFieldError: LOG*
at org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:41)
... 41 more
*cause: nodeJava_java_sql_SQLException {} }*

For Your Information, i'm using hadoop 3.1.1 and i've set these libs to my classpath :

'/hadoop/share/hadoop/common/lib/hadoop-auth-3.1.1.jar',
'/hive/jdbc/hive-jdbc-3.1.0-standalone.jar',
'/hive/lib/hive-exec-3.1.0.jar',
'/hive/lib/hive-metastore-3.1.0.jar',
'/hadoop/share/hadoop/common/hadoop-common-3.1.1.jar',
'/hadoop/share/hadoop/common/lib/slf4j-api-1.7.25.jar',
'/hive/lib/libthrift-0.9.3.jar',
'/hive/lib/httpclient-4.5.2.jar',
'/hive/lib/httpcore-4.4.4.jar',
'/hive/lib/hive-service-3.1.0.jar',
'/hive/lib/commons-logging-1.0.4.jar',
'/hive/lib/hive-common-3.1.0.jar'


Please Help me to  solve this.  i've stuck with this  problem for 2 days.


Best Regards,


Tkg_Cangkul

Reply via email to