jai20242 commented on issue #11249:
URL: https://github.com/apache/hudi/issues/11249#issuecomment-2117392043
I tried it adding the configuration using compaction schedule and compaction
run but it didn't work.
hudi->connect --path /tmp/dep_hudi2
2024-05-17 13:25:30.737 INFO 21882 --- [ main]
o.a.h.c.t.HoodieTableMetaClient : Loading HoodieTableMetaClient from
/tmp/dep_hudi2
2024-05-17 13:25:30.906 WARN 21882 --- [ main]
o.a.h.u.NativeCodeLoader : Unable to load native-hadoop library
for your platform... using builtin-java classes where applicable
2024-05-17 13:25:31.243 WARN 21882 --- [ main] o.a.h.f.FileSystem
: Cannot load filesystem:
java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider
com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem could not be instantiated
2024-05-17 13:25:31.243 WARN 21882 --- [ main] o.a.h.f.FileSystem
: java.lang.NoSuchMethodError:
com.google.common.base.Preconditions.checkState(ZLjava/lang/String;J)V
2024-05-17 13:25:31.442 INFO 21882 --- [ main]
o.a.h.c.t.HoodieTableConfig : Loading table properties from
/tmp/dep_hudi2/.hoodie/hoodie.properties
2024-05-17 13:25:31.457 INFO 21882 --- [ main]
o.a.h.c.t.HoodieTableMetaClient : Finished Loading Table of type
MERGE_ON_READ(version=1, baseFileFormat=PARQUET) from /tmp/dep_hudi2
Metadata for table prueba loaded
hudi:prueba->compaction schedule —hoodieConfigs
"hoodie.compact.inline.max.delta.commits=1"
Attempted to schedule compaction for 20240517132533480
hudi:prueba->compaction run --tableName prueba
2024-05-17 13:25:40.853 INFO 21882 --- [ main]
o.a.h.c.t.t.HoodieActiveTimeline : Loaded instants upto :
Option{val=[20240517082810322__deltacommit__COMPLETED__20240517083132000]}
NO PENDING COMPACTION TO RUN
hudi:prueba->compactions show all
╔═════════════════════════╤═══════╤═══════════════════════════════╗
║ Compaction Instant Time │ State │ Total FileIds to be Compacted ║
╠═════════════════════════╧═══════╧═══════════════════════════════╣
║ (empty) ║
╚═════════════════════════════════════════════════════════════════╝
hudi:prueba->compaction run --tableName prueba —hoodieConfigs
"hoodie.compact.inline.max.delta.commits=1"
2024-05-17 13:26:17.293 INFO 21882 --- [ main]
o.a.h.c.t.t.HoodieActiveTimeline : Loaded instants upto :
Option{val=[20240517082810322__deltacommit__COMPLETED__20240517083132000]}
NO PENDING COMPACTION TO RUN
hudi:prueba->compaction run --tableName prueba —hoodieConfigs
"hoodie.compact.inline.max.delta.commits=1"
2024-05-17 13:26:30.318 INFO 21882 --- [ main]
o.a.h.c.t.t.HoodieActiveTimeline : Loaded instants upto :
Option{val=[20240517082810322__deltacommit__COMPLETED__20240517083132000]}
NO PENDING COMPACTION TO RUN
hudi:prueba->compactions show all
╔═════════════════════════╤═══════╤═══════════════════════════════╗
║ Compaction Instant Time │ State │ Total FileIds to be Compacted ║
╠═════════════════════════╧═══════╧═══════════════════════════════╣
║ (empty) ║
╚═════════════════════════════════════════════════════════════════╝
--
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]