Light-Towers opened a new issue, #5861:
URL: https://github.com/apache/seatunnel/issues/5861

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   I use hive as connector-source, but failed. I'm not sure if it's a problem 
with manually upgrading the Hive version.
   
   Related version info
   **Bigdata platform**: CDH 6.3.2
   **Hadoop version**: Hadoop 3.0.0-cdh6.3.2
   **Hive version**: 3.1.3 (Manually upgraded version)
   
   ${apache-seatunnel}/lib catalog info:
   [root@master01 apache-seatunnel-2.3.3]# ll lib/
   total 83348
   -rw-r--r-- 1 root root 41873154 Nov 16 09:51 hive-exec-3.1.3.jar
   -rw-r--r-- 1 root root   313702 Nov 15 17:58 libfb303-0.9.3.jar
   -rw-r--r-- 1 root root    10503 Aug 18 17:10 
seatunnel-hadoop3-3.1.4-uber-2.3.3.jar
   -rw-r--r-- 1 root root 42110549 Nov 14 16:25 
seatunnel-hadoop3-3.1.4-uber-2.3.3-optional.jar
   -rw-r--r-- 1 root root  1032927 Feb 18  2022 seatunnel-transforms-v2.jar
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 2
     job.mode = "BATCH"
   }
   
   source {
     Hive {
       table_name = "ods_mg.ods_mg_enterprise_entbaseinfo"
       metastore_uri = "thrift://master02:9083"
       hdfs_site_path = "/etc/hadoop/conf/hdfs-site.xml"
       hive_site_path = "/etc/hive/conf/hive-site.xml"
   #    read_partitions = ["dt=2023-11-13"]
     }
   
   }
   
   sink {
     Console {
       source_table_name = "fake1"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/hive-es.config -e local
   ```
   
   
   ### Error Exception
   
   ```log
   2023-11-16 10:37:08,623 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
Closed HazelcastInstance ......
   Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(Lorg/apache/hadoop/hive/conf/HiveConf;)V
        at 
org.apache.seatunnel.connectors.seatunnel.hive.utils.HiveMetaStoreProxy.<init>(HiveMetaStoreProxy.java:61)
        at 
org.apache.seatunnel.connectors.seatunnel.hive.utils.HiveMetaStoreProxy.getInstance(HiveMetaStoreProxy.java:77)
        at 
org.apache.seatunnel.connectors.seatunnel.hive.config.HiveConfig.getTableInfo(HiveConfig.java:73)
        at 
org.apache.seatunnel.connectors.seatunnel.hive.source.HiveSource.prepare(HiveSource.java:123)
        at 
org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSource(JobConfigParser.java:85)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:317)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:179)
        at 
org.apache.seatunnel.engine.core.job.AbstractJobEnvironment.getLogicalDag(AbstractJobEnvironment.java:109)
        at 
org.apache.seatunnel.engine.client.job.JobExecutionEnvironment.execute(JobExecutionEnvironment.java:73)
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:143)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at 
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   java version "1.8.0_181"
   Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
   Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
   
   ### Screenshots
   
   
![image](https://github.com/apache/seatunnel/assets/29267453/56af93be-8528-4c73-a462-977523182090)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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