Hive Could not load shims in class null , Pentaho

Error connecting to database [test] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Error connecting to database: (using class org.apache.hadoop.hive.jdbc.HiveDriver)
org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: java.lang.RuntimeException: Could not load shims in class null

Solution:

This error is due to incompatibility between version of hadoop and hive supported

Drop the supported Hive , Hadoop version jar in pentaho/lib/jdbc directory

1 comment:

  1. Hello Jagat Singh,
    If you knows , Pentaho dynamic width , please help me .

    Thanks

    ReplyDelete

Please share your views and comments below.

Thank You.