[GitHub] [carbondata] ajantha-bhat opened a new pull request #3336: [HOTFIX] Multi-thread pruning fails when datamaps count is just near numOfThreadsForPruning

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

[GitHub] [carbondata] ajantha-bhat opened a new pull request #3336: [HOTFIX] Multi-thread pruning fails when datamaps count is just near numOfThreadsForPruning

GitBox
ajantha-bhat opened a new pull request #3336: [HOTFIX] Multi-thread pruning fails when datamaps count is just near numOfThreadsForPruning
URL: https://github.com/apache/carbondata/pull/3336
 
 
   Problem : Multi-thread pruning fails when datamaps count is just near numOfThreadsForPruning.
   
   Cause : When the datamaps count is just near numOfThreadsForPruning,
   As code is checking '>= ', last thread may not get the datamaps for prune. Hence array out of index exception is thrown in this scenario.
   There is no issues with higher number of datamaps.
   
   solution: In this scenario launch threads based on the distribution value, not on the hardcoded value
   
   Be sure to do all of the following checklist to help us incorporate
   your contribution quickly and easily:
   
    - [ ] Any interfaces changed? NA
   
    - [ ] Any backward compatibility impacted? NA
   
    - [ ] Document update required? NA
   
    - [ ] Testing done
   done in cluster.      
   
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.  NA
   
   

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