[GitHub] carbondata pull request #2059: [CARBONDATA-2250][DataLoad] Reduce massive ob...

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2059: [CARBONDATA-2250][DataLoad] Reduce massive ob...

qiuchenjian-2
GitHub user xuchuanyin opened a pull request:

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

    [CARBONDATA-2250][DataLoad] Reduce massive object generation in global sort

    Generate compatator outside the function, otherwise it will be generated
    for every row
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [x] Any interfaces changed?
     `NO`
     - [x] Any backward compatibility impacted?
      `NO`
     - [x] Document update required?
     `NO`
     - [x] Testing done
            Please provide details on
            - Whether new unit test cases have been added or why no new tests are required?
     `NO`
            - How it is tested? Please attach test report.
    `Tested in local machine`
            - Is it a performance related change? Please attach the performance test report.
     `Performance should be slightly enhanced`
            - Any additional information to help reviewers in testing this change.
           
     - [x] 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 https://github.com/xuchuanyin/carbondata 0313_optimize_global_sort_comparator

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

    https://github.com/apache/carbondata/pull/2059.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 #2059
   
----
commit b4d4d7a945949cec02064466e53f3b18d576fd58
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-03-13T07:49:48Z

    Reduce massive object generation in global sort
   
    generate compatator outside the function, otherwise it will be generated
    for every row

----


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4240/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/2996/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3882/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2059: [CARBONDATA-2250][DataLoad] Reduce massive ob...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2059#discussion_r174193598
 
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/sort/sortdata/NewRowComparatorForNormalDims.java ---
    @@ -16,13 +16,16 @@
      */
     package org.apache.carbondata.processing.sort.sortdata;
     
    +import java.io.Serializable;
     import java.util.Comparator;
     
     /**
      * This class is used as comparator for comparing dims which are non high cardinality dims.
      * Here the dims will be in form of int[] (surrogates) so directly comparing the integers.
      */
    -public class NewRowComparatorForNormalDims implements Comparator<Object[]> {
    +public class NewRowComparatorForNormalDims implements Comparator<Object[]>, Serializable {
    +  private static final long serialVersionUID = 201803131547L;
    --- End diff --
   
    please change the serialVersionUID


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3013/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4257/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2059: [CARBONDATA-2250][DataLoad] Reduce massive ob...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2059#discussion_r174364855
 
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/sort/sortdata/NewRowComparatorForNormalDims.java ---
    @@ -16,13 +16,16 @@
      */
     package org.apache.carbondata.processing.sort.sortdata;
     
    +import java.io.Serializable;
     import java.util.Comparator;
     
     /**
      * This class is used as comparator for comparing dims which are non high cardinality dims.
      * Here the dims will be in form of int[] (surrogates) so directly comparing the integers.
      */
    -public class NewRowComparatorForNormalDims implements Comparator<Object[]> {
    +public class NewRowComparatorForNormalDims implements Comparator<Object[]>, Serializable {
    +  private static final long serialVersionUID = 201803131547L;
    --- End diff --
   
    fixed


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3111/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4345/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user jackylk commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    LGTM


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2059: [CARBONDATA-2250][DataLoad] Reduce massive ob...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user asfgit closed the pull request at:

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


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3142/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2059: [CARBONDATA-2250][DataLoad] Reduce massive object ge...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2059
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4364/



---