xiaofan2022 opened a new issue, #3895: URL: https://github.com/apache/incubator-seatunnel/issues/3895
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened Caused by: java.net.UnknownHostException: nameservice1 ### SeaTunnel Version 2.3.0 ### SeaTunnel Config ```conf env { execution.parallelism = 20 job.mode = "BATCH" } source { Jdbc { parallelism=20 url = "jdbc:mysql:host:3306/log" driver = "com.mysql.cj.jdbc.Driver" connection_check_timeout_sec = 100 user = "" password = "" query = "select * from table limit 100 " partition_column = "id" partition_num = 20 } } transform { } sink { Hive { table_name = "test.log" parallelism=10 metastore_uri = "thrift://master1:9083" sink_columns = ["id", "topic"] } } ``` ### Running Command ```shell sh ./bin/seatunnel.sh --config zeta_mysql_hive.conf ``` ### Error Exception ```log Caused by: java.net.UnknownHostException: nameservice1 at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:445) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.hdfs.NameNodeProxiesClient.createProxyWithClientProtocol(NameNodeProxiesClient.java:132) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:351) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:285) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:168) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3237) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:123) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3286) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3254) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:478) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:462) ~[seatunnel-hadoop3-3.1.4-uber.jar:2.3.1-SNAPSHOT] at org.apache.seatunnel.connectors.seatunnel.file.sink.util.FileSystemUtils.getFileSystem(FileSystemUtils.java:67) ~[classes/:?] at org.apache.seatunnel.connectors.seatunnel.file.sink.util.FileSystemUtils.getOutputStream(FileSystemUtils.java:73) ~[classes/:?] at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.TextWriteStrategy.getOrCreateOutputStream(TextWriteStrategy.java:114) ~[classes/:?] at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.TextWriteStrategy.write(TextWriteStrategy.java:75) ~[classes/:?] at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSinkWriter.write(BaseFileSinkWriter.java:108) ~[classes/:?] at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSinkWriter.write(BaseFileSinkWriter.java:43) ~[classes/:?] at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.received(SinkFlowLifeCycle.java:161) ~[classes/:?] ... 15 more ``` ### 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]
