GitHub user ndwangsen reopened a pull request:

    [CARBONDATA-2309][DataLoad] Add strategy to generate bigger carbondata 
files in case of small amo…

    In some scenario, the input amount of loading data is small, but carbondata 
still distribute them to each executors (nodes) to do local-sort, thus 
resulting to small carbondata files generated by each executor. 
    In  some extreme conditions, if the cluster is big enough or if the amount 
of data is small enough, the carbondata file contains only one blocklet or page.
    I  think a new strategy should be introduced to solve the above problem.
    The new strategy should:
    be able to control the minimum amount of input data for each node
    ignore data locality otherwise it may always choose a small portion of 
particular nodes
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
     - [ ] Any interfaces changed?
     - [ ] Any backward compatibility impacted?
     - [ ] Document update required?
     - [ ] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
            - How it is tested? Please attach test report.
              Tested in local
            - Is it a performance related change? Please attach the performance 
test report.mac
              After this PR, performance is as we expected
            - Any additional information to help reviewers in testing this 
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 

You can merge this pull request into a Git repository by running:

    $ git pull load_min

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2314
commit 987921ef4d1c16e01b5c46384b8b1c356e3abe8a
Author: ndwangsen <>
Date:   2018-05-17T09:26:00Z

    Add strategy to generate bigger carbondata files in case of small amount of 
input data



Reply via email to