You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/10/08 15:58:02 UTC

[GitHub] [hudi] tandonraghav commented on issue #2151: [SUPPORT] How to run Periodic Compaction? Multiple Tables - When no Upserts

tandonraghav commented on issue #2151:
URL: https://github.com/apache/hudi/issues/2151#issuecomment-705665216


   @bvaradar Mongo Collection-> Hudi Table (This is our setup also)
   - We cannot put collections to different topics because there are 100s of such collections, so not in favour of creating those many topics.
   - I tried to do Compaction using below code
   
   ````
   Option<String> instantTime=client.scheduleCompaction(Option.empty());
               System.out.println(instantTime);
               client.compact(instantTime.get());
   ````
   But if this code fails somehow then how do i get the last compaction instantTime? So, that I can use to compact again.
   
   


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

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