[GitHub] [carbondata] Indhumathi27 opened a new pull request #3310: Fix DataLoading to MV table when Yarn-Application is killed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] Indhumathi27 opened a new pull request #3310: Fix DataLoading to MV table when Yarn-Application is killed

GitBox
Indhumathi27 opened a new pull request #3310: Fix DataLoading to MV table when Yarn-Application is killed
URL: https://github.com/apache/carbondata/pull/3310
 
 
   Problem:
   When dataLoad is triggered on datamaptable and new LoadMetaDetail with SegmentStatus as "InsertInProgress"  and segmentMappingInfo is created and then yarn-application is killed. Then on next load, stale loadMetadetail is still in InsertInProgress state and mainTableSegemnts mapped to that loadMetaDetail is not considered for nextLoad resulted in dataMismatch between main table and datamap table
   
   Solution:
   Clean up the old invalid segment before creating a new entry for new Load.
   
    - [ ] Any interfaces changed?
   
    - [ ] Any backward compatibility impacted?
   
    - [ ] Document update required?
   
    - [ ] Testing done
         
    - [ ] 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:
[hidden email]


With regards,
Apache Git Services