sambhav13 opened a new issue, #6126: URL: https://github.com/apache/hudi/issues/6126
**_Tips before filing an issue_** - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)? - Join the mailing list to engage in conversations and get faster support at [email protected]. - If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly. **Describe the problem you faced** When trying to run create table command with from Flink Sql Client Shell, it throws an error saying Caused by: java.net.UnknownHostException: hudiflink2.localhost: nodename nor servname provided, or not known\ NOTE: hudiflink2 is the bucket name for s3 path where the table is being stored using the path A clear and concise description of the problem. Need to create a hudi table from flink sql client shell and insert some data in it. But when trying to create a table using the flink sql client shell with a create sql with create sql an error is thrown saying **UnknownHost Exception : hudiflink2.localhost: nodename nor servname provided, or not known.** **To Reproduce** Steps to reproduce the behavior: 1. Download and extract flink-1.14.5 2. ./bin/start-cluster.sh 3. ./bin/sql-client.sh embedded -j hudi-flink-bundle_2.12-0.10.1.jar -j hadoop-aws-2.9.0.jar -j aws-java-sdk-s3-1.11.0.jar 4. run create table t2_minio(id int PRIMARY KEY, name varchar(50)) with ('connector' = 'hudi', 'table.type' = 'MERGE_ON_READ', 'path' = 's3a://hudiflink2/t2', 'hadoop.fs.s3a.endpoint' = 'http://127.0.0.1:9000' , 'hadoop.fs.s3a.access.key' = 'minio' , 'hadoop.fs.s3a.secret.key' = 'minio123', 'hadoop.fs.s3a.connection.timeout' = '600000', 'hadoop.fs.s3a.impl' = 'org.apache.hadoop.fs.s3a.S3AFileSystem', 'hadoop.fs.s3a.path.style.access' = 'true'); on client shell **Expected behavior** Ideally the Create command should run successfully and a table should be created inside the bucket hudiflink2 with name t2. **Environment Description** Local machine MacOs * Hudi version : 0.10.1 * Spark version : Flink version 1.14.5 * Hive version : * Hadoop version : 2.9.0 * Storage (HDFS/S3/GCS..) : S3(MinIO) running locally and on port 9000 * Running on Docker? (yes/no) : running local cluster for flink **Additional context** Add any other context about the problem here. Attached snapshots <img width="1898" alt="FlinkSqlClient_invokeCommand" src="https://user-images.githubusercontent.com/4696334/179422879-2b96cb5d-3bc3-475c-a9d2-9eef6ec0a0a3.png"> <img width="1776" alt="flink_HudiTable_createCommand" src="https://user-images.githubusercontent.com/4696334/179422881-5300eac1-b45a-4da3-8371-a326982c008a.png"> **Stacktrace** ```Add the stacktrace of the error.``` [ErrorStackTrace (3).log](https://github.com/apache/hudi/files/9128466/ErrorStackTrace.3.log) -- 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]
