imrewang commented on issue #9267:
URL: https://github.com/apache/hudi/issues/9267#issuecomment-1647394933

   I use the following way to run
   
   `bin/flink run -Dexecution.runtime-mode=BATCH -c demo.HudiDemo /XX/XX/XX.jar`
   
   where the table settings are as follows
   
   ```
            TableEnv. executeSql(
                    "CREATE TABLE t24(\n" +
                            "id int,\n" +
                            "num int,\n" +
                            "primary key (id) not enforced\n" +
                            ")\n" +
                            "with(\n" +
                            "'connector'='hudi',\n" +
                            "'path' = 'hdfs://XX:8020/XX/XX/t24',\n" +
                            "'table.type'='COPY_ON_WRITE',\n" +
                            "'write.operation' = 'bulk_insert',\n" + +
                            "'hive_sync.enable'='true',\n" +
                            "'hive_sync.table'='h24',\n" +
                            "'hive_sync.db'='db',\n" +
                            "'hive_sync.mode' = 'hms',\n" +
                            "'hive_sync.metastore.uris' = 'thrift://XX:9083'\n" 
+
                            ")"
            );
   ```
   
   But still can't generate commit file:worried:, **can't sync to hive at the 
same time**
   
   `insert into t24 select * from dgen`
   
   The dgen table is `'connector' = 'datagen'`
   
   (checkpoint has been set)
   
   :sob: :sob: :sob:


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to