CheneyYin commented on issue #5174:
URL: https://github.com/apache/seatunnel/issues/5174#issuecomment-1657400454

   Your environment used [Apache Hive : 
3.1.3000.7.1.6.0-297](https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/runtime-release-notes/topics/rt-pvc-runtime-component-versions.html).
 But `connector-hive` just compatible with `Hive 2`. 
   The constructor of  `HiveMetaStoreClient` in `Hive 2.3.9` is different from 
`Hive 3.1.3`.
   
   ```java
   // Hive 2.3.9
   public HiveMetaStoreClient(HiveConf conf) throws MetaException {
   ...
   }
   
   public HiveMetaStoreClient(HiveConf conf, HiveMetaHookLoader hookLoader, 
Boolean allowEmbedded) {
   ...
   }
   ```
   
   ```java
   // Hive 3.1.3
   public HiveMetaStoreClient(Configuration conf) throws MetaException {
   ...
   }
   
   public HiveMetaStoreClient(Configuration conf, HiveMetaHookLoader 
hookLoader) throws MetaException {
   ...
   }
   
   public HiveMetaStoreClient(Configuration conf, HiveMetaHookLoader 
hookLoader, Boolean allowEmbedded) {
   ...
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to