Light-Towers opened a new issue, #6056: URL: https://github.com/apache/seatunnel/issues/6056
### 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 Want to sync hive complex structured data to es or mongo, Found seatunnel unsupport. * DDL: test_hive_type1 ``` CREATE TABLE `test.test_hive_type1` ( `json_a` array<struct<name:string,age:int,cla:string>> COMMENT 'json数组') COMMENT '测试hive类型' ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' STORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' LOCATION 'hdfs://nameservice1/user/hive/warehouse/test/test_hive_type1'; ``` ### SeaTunnel Version 2.3.3 ### SeaTunnel Config ```conf env { execution.parallelism = 2 job.mode = "BATCH" } source { Hive { table_name = "test.test_hive_type1" metastore_uri = "thrift://master02:9083" hive_site_path = "/etc/hive/conf/hive-site.xml" hdfs_site_path = "/etc/hadoop/conf/hdfs-site.xml" } } sink { Console { } } ``` ### Running Command ```shell ./bin/seatunnel.sh --config ./config/sync_conf/hive2es -e local ``` ### Error Exception ```log 2023-12-22 14:01:51,634 INFO com.hazelcast.core.LifecycleService - hz.client_1 [seatunnel-218537] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is SHUTDOWN 2023-12-22 14:01:51,634 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed SeaTunnel client...... 2023-12-22 14:01:51,635 INFO com.hazelcast.core.LifecycleService - [localhost]:5801 [seatunnel-218537] [5.1] [localhost]:5801 is SHUTTING_DOWN 2023-12-22 14:01:51,639 INFO com.hazelcast.internal.partition.impl.MigrationManager - [localhost]:5801 [seatunnel-218537] [5.1] Shutdown request of Member [localhost]:5801 - 65360aaf-a790-4ec0-9336-58f178025d41 this is handled 2023-12-22 14:01:51,644 INFO com.hazelcast.instance.impl.Node - [localhost]:5801 [seatunnel-218537] [5.1] Shutting down connection manager... 2023-12-22 14:01:51,646 INFO com.hazelcast.instance.impl.Node - [localhost]:5801 [seatunnel-218537] [5.1] Shutting down node engine... 2023-12-22 14:01:54,706 INFO com.hazelcast.instance.impl.NodeExtension - [localhost]:5801 [seatunnel-218537] [5.1] Destroying node NodeExtension. 2023-12-22 14:01:54,706 INFO com.hazelcast.instance.impl.Node - [localhost]:5801 [seatunnel-218537] [5.1] Hazelcast Shutdown is completed in 3068 ms. 2023-12-22 14:01:54,706 INFO com.hazelcast.core.LifecycleService - [localhost]:5801 [seatunnel-218537] [5.1] [localhost]:5801 is SHUTDOWN 2023-12-22 14:01:54,706 INFO org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - Closed HazelcastInstance ...... 2023-12-22 14:01:54,706 ERROR org.apache.seatunnel.core.starter.SeaTunnel - =============================================================================== 2023-12-22 14:01:54,707 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Fatal Error, 2023-12-22 14:01:54,707 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Please submit bug report in https://github.com/apache/seatunnel/issues 2023-12-22 14:01:54,707 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Reason:SeaTunnel job executed failed 2023-12-22 14:01:54,709 ERROR org.apache.seatunnel.core.starter.SeaTunnel - Exception StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191) at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40) at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34) Caused by: java.lang.RuntimeException: String json deserialization exception.string> at org.apache.seatunnel.common.utils.JsonUtils.parseObject(JsonUtils.java:243) at org.apache.seatunnel.common.utils.JsonUtils.parseObject(JsonUtils.java:236) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.convertJsonToMap(CatalogTableUtil.java:297) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseRowType(CatalogTableUtil.java:218) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseComplexDataType(CatalogTableUtil.java:214) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseDataType(CatalogTableUtil.java:168) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseRowType(CatalogTableUtil.java:224) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseComplexDataType(CatalogTableUtil.java:214) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseDataType(CatalogTableUtil.java:168) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.parseTableSchema(CatalogTableUtil.java:321) at org.apache.seatunnel.api.table.catalog.CatalogTableUtil.buildWithConfig(CatalogTableUtil.java:141) at org.apache.seatunnel.connectors.seatunnel.file.hdfs.source.BaseHdfsFileSource.prepare(BaseHdfsFileSource.java:97) at org.apache.seatunnel.connectors.seatunnel.hive.source.HiveSource.prepare(HiveSource.java:176) 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) ... 2 more Caused by: org.apache.seatunnel.shade.com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'string': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (byte[])"string>"; line: 1, column: 8] at org.apache.seatunnel.shade.com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2337) at org.apache.seatunnel.shade.com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:720) at org.apache.seatunnel.shade.com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidToken(UTF8StreamJsonParser.java:3594) at org.apache.seatunnel.shade.com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2688) at org.apache.seatunnel.shade.com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:870) at org.apache.seatunnel.shade.com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:762) at org.apache.seatunnel.shade.com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4622) at org.apache.seatunnel.shade.com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3056) at org.apache.seatunnel.common.utils.JsonUtils.parseObject(JsonUtils.java:241) ... 20 more ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### 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]
