vishal-genea opened a new issue, #12951:
URL: https://github.com/apache/hudi/issues/12951

   **Describe the problem you faced**
   
   Flink + Hudi COW + upsert mode + S3 path -> too slow. Nearly taking half an 
hour for 13k records only.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   Use these configuration to reproduce
               "  'connector' = 'hudi'," +
               "  'path' = '" + S3_PATH + "'," +
               "  'table.type' = 'COPY_ON_WRITE'," +
               "  'hoodie.table.name' = '" + HUDI_TABLE_NAME + "'," +
               "  'hoodie.datasource.write.recordkey.field' = 'event_id'," +
               "  'hoodie.datasource.write.partitionpath.field' = 
'customer_uuid,year,month'," +
               "  'hoodie.datasource.write.precombine.field' = 'time'," +
               "  'hoodie.schema.on.read.enable' = 'true'," +
               "  'hoodie.parquet.compression.codec' = 'snappy'," +
               "  'hoodie.datasource.write.operation' = 'upsert',"+
               "  'hoodie.parquet.max.file.size' = '10485760',"+
               "  'write.tasks' = '8',"+
               "  'hoodie.populate.meta.fields' = 'true',"+
               "  'hoodie.table.keygenerator.class' = 
'org.apache.hudi.keygen.NonpartitionedKeyGenerator',"+
               "  'hoodie.metadata.enable' = 'false'"+
   
   **Expected behavior**
   
   It should process the data within a minutes, evne for 1 million records.
   
   **Environment Description**
   
   * Hudi version : 0.15.0
   
   * Flink version : 1.18
   
   * Hadoop version : 3.1.4
   
   * Storage (HDFS/S3/GCS..) : S3
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   - use these configs
   
   ```
               "  'connector' = 'hudi'," +
               "  'path' = '" + S3_PATH + "'," +
               "  'table.type' = 'COPY_ON_WRITE'," +
               "  'hoodie.table.name' = '" + HUDI_TABLE_NAME + "'," +
               "  'hoodie.datasource.write.recordkey.field' = 'event_id'," +
               "  'hoodie.datasource.write.partitionpath.field' = 
'customer_uuid,year,month'," +
               "  'hoodie.datasource.write.precombine.field' = 'time'," +
               "  'hoodie.schema.on.read.enable' = 'true'," +
               "  'hoodie.parquet.compression.codec' = 'snappy'," +
               "  'hoodie.datasource.write.operation' = 'upsert',"+
               "  'hoodie.parquet.max.file.size' = '10485760',"+
               "  'write.tasks' = '8',"+
               "  'hoodie.populate.meta.fields' = 'true',"+
               "  'hoodie.table.keygenerator.class' = 
'org.apache.hudi.keygen.NonpartitionedKeyGenerator',"+
               "  'hoodie.metadata.enable' = 'false'"+
   ```
   
   - Sinking time is very random but it is taking ~half an hour for 13k and for 
28K it tool 2 hours, which is very wierd
   
   
![Image](https://github.com/user-attachments/assets/1618785e-3395-4bf6-9ed5-eaaca1dd731d)
   
   


-- 
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]

Reply via email to