Hive connectivity error in Pentaho DI
<p>I am getting a below error while I am trying to do a test connection on hive localhost in pentaho di.</p>
<blockquote>
<p>Error connecting to database [HiveConn] :
org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while &gt; trying to connect to the database</p>
<p>Error connecting to database: (using class
org.apache.hadoop.hive.jdbc.HiveDriver) loader constraint violation: loader &gt; (instance of java/net/URLClassLoader) previously initiated loading for a
different type with name &quot;org/apache/thrift/protocol/TProtocol&quot;</p>
<p>org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database</p>
</blockquote>
<p>Please let me know what could be the reason.</p>