alberttwong opened a new issue, #11883:
URL: https://github.com/apache/hudi/issues/11883
Running a compaction in the CLI
**To Reproduce**
Steps to reproduce the behavior:
```
hudi:stock_ticks_mor->compactions show all
42012 [main] INFO
org.apache.hudi.common.table.timeline.HoodieActiveTimeline [] - Loaded instants
upto :
Option{val=[20240905011929870__deltacommit__COMPLETED__20240905011934536]}
╔═════════════════════════╤═══════╤═══════════════════════════════╗
║ Compaction Instant Time │ State │ Total FileIds to be Compacted ║
╠═════════════════════════╧═══════╧═══════════════════════════════╣
║ (empty) ║
╚═════════════════════════════════════════════════════════════════╝
hudi:stock_ticks_mor->compaction schedule --hoodieConfigs
hoodie.compact.inline.max.delta.commits=1
87443 [Thread-5] INFO org.apache.hudi.cli.utils.InputStreamConsumer [] -
Error: Failed to load org.apache.hudi.cli.commands.SparkMain:
org/apache/hudi/table/HoodieTable
87447 [Thread-5] INFO org.apache.hudi.cli.utils.InputStreamConsumer [] -
24/09/05 01:22:56 INFO ShutdownHookManager: Shutdown hook called
87448 [Thread-5] INFO org.apache.hudi.cli.utils.InputStreamConsumer [] -
24/09/05 01:22:56 INFO ShutdownHookManager: Deleting directory
/tmp/spark-d57610e8-bd58-4f79-8275-cf84d18f9538
Failed to run compaction for 20240905012255765
```
**Expected behavior**
Compaction would be successful
**Environment Description**
* Hudi version : 0.15
* Spark version : 3.4
* Hive version : 2.3.9
* Hadoop version : 2.10.2
* Storage (HDFS/S3/GCS..) : Minio S3
* Running on Docker? (yes/no) : Yes
**Additional context**
Add any other context about the problem here.
**Stacktrace**
```Add the stacktrace of the error.```
--
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]