kepplertreet opened a new issue, #7388:
URL: https://github.com/apache/hudi/issues/7388

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)? YES 
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected]. No
   
   - 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**
   
   A clear and concise description of the problem.
   
   A write job created down many small sized files ~25 MB on a MoR table wanted 
to run a clustering operation on top of it to group smaller sized files into 
larger files  ~250MB to 300MB. 
   The datasource write job executed successfully but couldn't see any 
clustering happening still get a lot small sized files and only got to see 
deltacommits on the timeline. 
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Upsert Operation for freshly loading a MoR Table 
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   Expected Behaviour was that the job would complete it's delta commit and 
following it would be performing a Clustering Operation that would run inline 
and bring together files of the various file groups together and create files 
that are ~250-300 Mb in size (parquets) 
   
   **Environment Description**
   
   * Hudi version : 0.11.1-amzn-0
   
   * Spark version : Spark3.3.0
   
   * Hive version : 3.1.3
   
   * Hadoop version : 3.2.1
   
   * Storage (HDFS/S3/GCS..) : S3 
   
   * Running on Docker? (yes/no) : No 
   
   * Emr Version - 6.8.0
   
   **Additional context**
   No errors were displayed the delta commits executed successfully to write 
very small files but no subsequent clustering was triggered to merge the files 
together 
   
   **Stacktrace**
   
   ``` No Stack Trace ``
   
   ** Hudi Configs Used ** 
   
   "hoodie.datasource.hive_sync.table" : "<table_name>", 
   "hoodie.datasource.hive_sync.database" : "<database_name>", 
   "hoodie.datasource.write.row.writer.enable" : "false", 
   "hoodie.insert.shuffle.parallelism" : 64,
   "hoodie.upsert.shuffle.parallelism" : 64,
   "hoodie.table.version": "4",
   "hoodie.datasource.write.operation": "upsert",
   "hoodie.datasource.write.hive_style_partitioning": "true",
   "hoodie.datasource.write.precombine.field": "_commit_time_ms",
   "hoodie.datasource.write.commitmeta.key.prefix": "_",
   "hoodie.datasource.hive_sync.enable": "true",
   "hoodie.datasource.hive_sync.auto_create_database": "true",
   "hoodie.datasource.hive_sync.support_timestamp": "false",
   "hoodie.datasource.hive_sync.skip_ro_suffix": "true",
   "hoodie.parquet.compression.codec": "snappy",
   "hoodie.metrics.on": "false",
   "hoodie.metadata.enable": "true",
   "hoodie.metadata.metrics.enable": "false",
   "hoodie.compact.inline": "true",
   "hoodie.index.type": "BLOOM",
   "hoodie.clean.automatic": "true",
   "hoodie.clean.async": "false",
   "hoodie.cleaner.commits.retained": 1,
   "hoodie.clustering.plan.strategy.sort.columns": "<record_key_field>",
   "hoodie.clustering.plan.strategy.class": 
"org.apache.hudi.client.clustering.plan.strategy.SparkSizeBasedClusteringPlanStrategy",
   "hoodie.clustering.execution.strategy.class": " 
org.apache.hudi.client.clustering.run.strategy.SparkSortAndSizeExecutionStrategy",
   "hoodie.clustering.inline.max.commits": 1,
   "hoodie.clustering.plan.strategy.target.file.max.bytes": "268435456", 
   "hoodie.clustering.plan.strategy.small.file.limit": "209715200"
   
   
   
   


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