You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "suryaprasanna (via GitHub)" <gi...@apache.org> on 2024/07/10 05:50:13 UTC

[PR] [HUDI-7975] Provide an API to create empty commit [hudi]

suryaprasanna opened a new pull request, #11606:
URL: https://github.com/apache/hudi/pull/11606

   Summary: By creating empty commit, checkpoints from the commit files can be transferred to new instants. So, this change is used to create emptyCommit by copying the extrametadata from the last completed non-table service commit in the timeline. Generally, empty commits are created max one instant per day per dataset, the cadence to transfer metadata can be configured that way bloating of the commit timeline can be avoided. whenever there is no new data to be written.
   
   ### Change Logs
   
   _Describe context and summary for this change. Highlight if any code was copied._
   
   ### Impact
   
   _Describe any public API or user-facing feature change or any performance impact._
   
   ### Risk level (write none, low medium or high below)
   
   _If medium or high, explain what verification was done to mitigate the risks._
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none"._
   
   - _The config description must be updated if new configs are added or the default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
     ticket number here and follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #11606:
URL: https://github.com/apache/hudi/pull/11606#issuecomment-2219689162

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c2dc1d616944a7e24693e7710005c52fc446601",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24804",
       "triggerID" : "7c2dc1d616944a7e24693e7710005c52fc446601",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c2dc1d616944a7e24693e7710005c52fc446601 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24804) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on PR #11606:
URL: https://github.com/apache/hudi/pull/11606#issuecomment-2219858711

   should we think through a way to improve the incremental query performance on the timeline instead of these tricky changes?


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "voonhous (via GitHub) via commits" <co...@hudi.apache.org>.
voonhous closed pull request #11606: [HUDI-7975] Provide an API to create empty commit
URL: https://github.com/apache/hudi/pull/11606


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "voonhous (via GitHub) via commits" <co...@hudi.apache.org>.
voonhous commented on PR #11606:
URL: https://github.com/apache/hudi/pull/11606#issuecomment-6700353000

   Temporarily closing this PR while we debug a GitHub settings error on master (#20471); it will be reopened shortly, no action needed.


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "suryaprasanna (via GitHub)" <gi...@apache.org>.
suryaprasanna commented on PR #11606:
URL: https://github.com/apache/hudi/pull/11606#issuecomment-2221771756

   > should we think through a way to improve the incremental query performance on the timeline instead of these tricky changes?
   The reason for creating an empty commit is to trigger table service operations like rollback, clean and archival. We have noticed that users are not calling any hudi APIs when there is no data to ingest, but our internal table services cannot handle all the cases. Another reason we also need this when data is getting ingested from multiple sources and each writer is tracking its own checkpoint in the commit. Then in that setup, if one writer is making frequent writes and other is not writing that frequently then there is a case where checkpoints stored by the second writer can be archived. So, we need a better way to store those checkpoint information as well.
   This change helps us in both triggering table services and also copy checkpoints.


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #11606:
URL: https://github.com/apache/hudi/pull/11606#issuecomment-2219677617

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c2dc1d616944a7e24693e7710005c52fc446601",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7c2dc1d616944a7e24693e7710005c52fc446601",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c2dc1d616944a7e24693e7710005c52fc446601 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

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


Re: [PR] [HUDI-7975] Provide an API to create empty commit [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #11606:
URL: https://github.com/apache/hudi/pull/11606#issuecomment-2219765331

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7c2dc1d616944a7e24693e7710005c52fc446601",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24804",
       "triggerID" : "7c2dc1d616944a7e24693e7710005c52fc446601",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c2dc1d616944a7e24693e7710005c52fc446601 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=24804) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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: commits-unsubscribe@hudi.apache.org

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