[GitHub] carbondata pull request #2114: [CARBONDATA-2295] Added property for UnsafeMe...

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

[GitHub] carbondata pull request #2114: [CARBONDATA-2295] Added property for UnsafeMe...

qiuchenjian-2
GitHub user bhavya411 opened a pull request:

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

    [CARBONDATA-2295] Added property for UnsafeMemory configuration

    Added property for setting up the unsafe memory limit in MB
   
   
   
     - [ X] Testing done
           Added a new property in the test cases to make sure they all run fine
            Tested manually on the presto client as well
   
   


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

    $ git pull https://github.com/bhavya411/incubator-carbondata CARBONDATA-2295

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

    https://github.com/apache/carbondata/pull/2114.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 #2114
   
----
commit 9e44537b97340e71829f733d878e1dfab8affbdc
Author: Bhavya <bhavya@...>
Date:   2018-03-29T15:03:34Z

    Added property for UnsafeMemory configuration

----


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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

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

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



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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

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

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



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

[GitHub] carbondata pull request #2114: [CARBONDATA-2295] Added property for UnsafeMe...

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

    https://github.com/apache/carbondata/pull/2114#discussion_r178229105
 
    --- Diff: integration/presto/src/main/java/org/apache/carbondata/presto/impl/CarbonTableReader.java ---
    @@ -366,7 +368,10 @@ public TBase create() {
       public List<CarbonLocalInputSplit> getInputSplits2(CarbonTableCacheModel tableCacheModel,
                                                          Expression filters)  {
         List<CarbonLocalInputSplit> result = new ArrayList<>();
    -
    +    if(config.getUnsafeMemoryInMb() != null) {
    +      CarbonProperties.getInstance().addProperty(CarbonCommonConstants.UNSAFE_WORKING_MEMORY_IN_MB,
    --- End diff --
   
    please add this configuration description to presto/README.md


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

[GitHub] carbondata pull request #2114: [CARBONDATA-2295] Added property for UnsafeMe...

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

    https://github.com/apache/carbondata/pull/2114#discussion_r178230596
 
    --- Diff: integration/presto/src/main/java/org/apache/carbondata/presto/impl/CarbonTableReader.java ---
    @@ -366,7 +368,10 @@ public TBase create() {
       public List<CarbonLocalInputSplit> getInputSplits2(CarbonTableCacheModel tableCacheModel,
                                                          Expression filters)  {
         List<CarbonLocalInputSplit> result = new ArrayList<>();
    -
    +    if(config.getUnsafeMemoryInMb() != null) {
    +      CarbonProperties.getInstance().addProperty(CarbonCommonConstants.UNSAFE_WORKING_MEMORY_IN_MB,
    --- End diff --
   
    Done


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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

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

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



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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

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

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



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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

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

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



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

[GitHub] carbondata issue #2114: [CARBONDATA-2295] Added property for UnsafeMemory co...

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

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


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

[GitHub] carbondata pull request #2114: [CARBONDATA-2295] Added property for UnsafeMe...

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

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


---