[GitHub] carbondata pull request #2487: [WIP]Fixed Complex type array GC issue

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

[GitHub] carbondata pull request #2487: [WIP]Fixed Complex type array GC issue

qiuchenjian-2
GitHub user kumarvishal09 opened a pull request:

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

    [WIP]Fixed Complex type array GC issue

    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.
            - Is it a performance related change? Please attach the performance test report.
            - Any additional information to help reviewers in testing this change.
           
     - [ ] 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/kumarvishal09/incubator-carbondata arrayissuefix

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

    https://github.com/apache/carbondata/pull/2487.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 #2487
   
----
commit a3891a3d73d1201c53d5f218241b3604659dac4d
Author: kumarvishal09 <kumarvishal1802@...>
Date:   2018-07-11T09:54:08Z

    Fixed Complex type array GC issue

----


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

[GitHub] carbondata issue #2487: [WIP]Fixed Complex type array GC issue

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2487
 
    Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/5798/



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

[GitHub] carbondata issue #2487: [WIP]Fixed Complex type array GC issue

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

    https://github.com/apache/carbondata/pull/2487
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5774/



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

    https://github.com/apache/carbondata/pull/2487
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5780/



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

    https://github.com/apache/carbondata/pull/2487
 
    retest sdv please


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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata pull request #2487: [CARBONDATA-2735]Fixed Performance issue for ...

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

    https://github.com/apache/carbondata/pull/2487#discussion_r202319613
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/page/SafeVarLengthColumnPage.java ---
    @@ -40,6 +40,7 @@
       @Override
       public void freeMemory() {
         byteArrayData = null;
    +    rowOffset.freeMemory();
    --- End diff --
   
    rowOffset.freeMemory also required in SafeDecimalColumnPage.
    It will we good practice to call rowOffset.freeMemory  in same class it is allocated, call abstract freememory class from derived to ensure any clean up from abstract class


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

[GitHub] carbondata pull request #2487: [CARBONDATA-2735]Fixed Performance issue for ...

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

    https://github.com/apache/carbondata/pull/2487#discussion_r202320940
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/page/VarLengthColumnPageBase.java ---
    @@ -175,24 +182,25 @@ private static ColumnPage getLVBytesColumnPage(TableSpec.ColumnSpec columnSpec,
           throws MemoryException {
         // extract length and data, set them to rowOffset and unsafe memory correspondingly
         int rowId = 0;
    -    List<Integer> rowOffset = new ArrayList<>();
    -    List<Integer> rowLength = new ArrayList<>();
    +    TableSpec.ColumnSpec spec = TableSpec.ColumnSpec
    +        .newInstance(columnSpec.getFieldName(), DataTypes.INT, ColumnType.MEASURE);
    +    ColumnPage rowOffset = ColumnPage.newPage(spec, DataTypes.INT, 1024);
    --- End diff --
   
    This default can be equal NUMBER_OF_ROWS_PER_BLOCKLET_COLUMN_PAGE_DEFAULT


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

[GitHub] carbondata pull request #2487: [CARBONDATA-2735]Fixed Performance issue for ...

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

    https://github.com/apache/carbondata/pull/2487#discussion_r202321022
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/page/VarLengthColumnPageBase.java ---
    @@ -201,31 +209,32 @@ private static ColumnPage getComplexLVBytesColumnPage(TableSpec.ColumnSpec colum
           throws MemoryException {
         // extract length and data, set them to rowOffset and unsafe memory correspondingly
         int rowId = 0;
    -    List<Integer> rowOffset = new ArrayList<>();
    -    List<Integer> rowLength = new ArrayList<>();
    +    TableSpec.ColumnSpec spec = TableSpec.ColumnSpec
    +        .newInstance(columnSpec.getFieldName(), DataTypes.INT, ColumnType.MEASURE);
    +    ColumnPage rowOffset = ColumnPage.newPage(spec, DataTypes.INT, 1024);
    --- End diff --
   
    This default can be equal NUMBER_OF_ROWS_PER_BLOCKLET_COLUMN_PAGE_DEFAULT


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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

    https://github.com/apache/carbondata/pull/2487
 
    retest sdv please


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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

    https://github.com/apache/carbondata/pull/2487
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5890/



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

    https://github.com/apache/carbondata/pull/2487
 
    retest sdv please



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

[GitHub] carbondata issue #2487: [CARBONDATA-2735]Fixed Performance issue for complex...

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

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



---
12