hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-hudi] garyli1019 opened a new pull request #1362: HUDI-644 Enable user to get checkpoint from previous commits in DeltaStreamer
Date Fri, 28 Feb 2020 00:04:48 GMT
garyli1019 opened a new pull request #1362: HUDI-644 Enable user to get checkpoint from previous
commits in DeltaStreamer
URL: https://github.com/apache/incubator-hudi/pull/1362
 
 
   
   ## What is the purpose of the pull request
   
   This PR is to resolve the following problem:
   
   The user is using a homebrew Spark data source to read new data and write to Hudi table
   
   The user would like to migrate to Delta Streamer
   
   But the Delta Streamer only checks the last commit metadata, if there is no checkpoint
info, then the Delta Streamer will use the default. For Kafka source, it is LATEST. 
   
   The user would like to run the homebrew Spark data source reader and Delta Streamer in
parallel to prevent data loss, but the Spark data source writer will make commit without checkpoint
info, which will reset the delta streamer. 
   
   So if we have an option to allow the user to retrieve the checkpoint from previous commits
instead of the latest commit would be helpful for the migration. 
   
   ## Brief change log
   
     - *Add an option to restrieve checkpoint in DeltaSync*
   
   ## Verify this pull request
   
   
   This pull request is a trivial rework / code cleanup without any test coverage.
   
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella
JIRA.

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


With regards,
Apache Git Services

Mime
View raw message