shfshihuafeng opened a new issue, #10110: URL: https://github.com/apache/seatunnel/issues/10110
### 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 When import data to HDFS (sink), ServiceLoader can not load catalogFactory for HDFS sink. ### SeaTunnel Version 2.12.3 ### SeaTunnel Config ```conf env { parallelism = 1 job.mode = "BATCH" checkpoint.interval=600000 } source { Http { result_table_name = "http" url = "http://xxx/hello/love" method = "GET" socket_timeout_ms=300000 #format = "json" #schema = { #fields { # name = "string" # age=int #city=string #} #} } } transform { Replace { source_table_name = "http" result_table_name = "et3" replace_field = "content" pattern = "(\\[)|(\\])" replacement = "" is_regex = true replace_first = true } Replace { source_table_name = "et3" result_table_name = "et4" replace_field = "content" # 再将对象间的逗号替换为# pattern = "\\},\\s*\\{" replacement = "}#{" is_regex = true replace_first = false } Sql { source_table_name = "et4" result_table_name = "et5" query = "SELECT * FROM et4 LATERAL VIEW EXPLODE(SPLIT(content,'#')) as ex" } JsonPath { source_table_name = "et5" result_table_name = "et6" columns = [ { "src_field" = "ex" "path" = "$.name" "dest_field" = "name" "dest_type" = "string" }, { "src_field" = "ex" "path" = "$.age" "dest_field" = "age" "dest_type" = "int" }, { "src_field" = "ex" "path" = "$.city" "dest_field" = "city" "dest_type" = "string" } ] } sql { source_table_name = "et6" result_table_name = "et7" query = "SELECT name,age,city FROM et6" } } sink { HdfsFile { source_table_name = "et7" fs.defaultFS = "hdfs://xxx:9000" path = "/shf" file_format_type = "orc" } } ``` ### Running Command ```shell bin/seatunnel.sh --config ./config/http2hdfs_orc.config -m local ``` ### Error Exception ```log Caused by: java.util.concurrent.CompletionException: org.apache.seatunnel.engine.common.exception.JobException: org.apache.seatunnel.api.table.factory.FactoryException: ErrorCode:[API-06], ErrorDescription:[Factory initialize failed] - Could not find any factories that implement 'org.apache.seatunnel.api.table.factory.CatalogFactory' in the classpath ``` ### Zeta or Flink or Spark Version zeta ### Java or Scala Version jdk1.8 ### Screenshots _No response_ ### Are you willing to submit PR? - [x] 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]
