Aiden-Rose opened a new issue, #7642: URL: https://github.com/apache/seatunnel/issues/7642
### 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 读取集群模式的clickhouse报错 ### SeaTunnel Version 2.3.4 ### SeaTunnel Config ```conf env { job.mode = "BATCH" spark.app.name = "IDE_TASK_30775955-9E11-4585-B6A7-AA5D250C17B8_2024091212294322" spark.executor.instances = 2 spark.executor.cores = 1 spark.executor.memory = "1g" } source { Clickhouse { host = "xxx.xx.xx.xx:8123" database = "etl" sql = "select * from `etl`.`bank_custom_key1`" username = "default" password = "" result_table_name = "temp_538acb1aa78441f8a80ae3f8567af23d" } } sink { Hive { table_name = "ztx_src.ck_bank_custom_key" metastore_uri = "thrift://xxxxxx:9083" hdfs_site_path = "/usr/hdp/3.1.4.0-315/hadoop/conf/hdfs-site.xml" source_table_name = "temp_538acb1aa78441f8a80ae3f8567af23d" data_save_mode = DROP_DATA } } ``` ### Running Command ```shell sh /opt/bdos/seatunnel/apache-seatunnel-2.3.4/bin/start-seatunnel-spark-3-connector-v2.sh --master local[4] --deploy-mode client --config /opt/bdoscommon/services/bdos-runner-server-bdms/task_scripts/project1/IDE_TASK_30775955-9E11-4585-B6A7-AA5D250C17B8_2024091212294322.conf ``` ### Error Exception ```log Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: Run SeaTunnel on spark failed at org.apache.seatunnel.core.starter.spark.command.SparkTaskExecuteCommand.execute(SparkTaskExecuteCommand.java:62) at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40) at org.apache.seatunnel.example.spark.v2.ExampleUtils.builder(ExampleUtils.java:40) at org.apache.seatunnel.example.spark.v2.SeaTunnelApiExample.main(SeaTunnelApiExample.java:33) Caused by: org.apache.seatunnel.connectors.seatunnel.clickhouse.exception.ClickhouseConnectorException: ErrorCode:[API-01], ErrorDescription:[Configuration item validate failed] - PluginName: Clickhouse, PluginType: SOURCE, Message: Reached end of input stream after reading 29 of 49 bytes, server ClickHouseNode [uri=http://172.24.12.48:8123/etl, options={server_time_zone=Asia/Shanghai}]@-1446234756 at org.apache.seatunnel.connectors.seatunnel.clickhouse.source.ClickhouseSource.prepare(ClickhouseSource.java:131) at org.apache.seatunnel.core.starter.execution.PluginUtil.fallbackCreate(PluginUtil.java:129) at org.apache.seatunnel.core.starter.execution.PluginUtil.createSource(PluginUtil.java:77) at org.apache.seatunnel.core.starter.spark.execution.SourceExecuteProcessor.initializePlugins(SourceExecuteProcessor.java:130) at org.apache.seatunnel.core.starter.spark.execution.SparkAbstractPluginExecuteProcessor.<init>(SparkAbstractPluginExecuteProcessor.java:50) at org.apache.seatunnel.core.starter.spark.execution.SourceExecuteProcessor.<init>(SourceExecuteProcessor.java:62) at org.apache.seatunnel.core.starter.spark.execution.SparkExecution.<init>(SparkExecution.java:54) at org.apache.seatunnel.core.starter.spark.command.SparkTaskExecuteCommand.execute(SparkTaskExecuteCommand.java:59) ... 3 more ``` ### Zeta or Flink or Spark Version spark: 3.2.2 ### Java or Scala Version jdk 1.8 ### Screenshots _No response_ ### 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]
