GitHub user ndwangsen reopened a pull request:

    https://github.com/apache/carbondata/pull/2314

    [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?
       NO
     - [ ] Any backward compatibility impacted?
       NO
     - [ ] Document update required?
       YES
     - [ ] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
               YES
            - 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 
change.
              NO
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
              NO


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

    $ git pull https://github.com/ndwangsen/incubator-carbondata load_min

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

    https://github.com/apache/carbondata/pull/2314.patch

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 <luffy.wang@...>
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