You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by kumarvishal09 <gi...@git.apache.org> on 2017/07/30 15:54:21 UTC

[GitHub] carbondata pull request #1215: [CARBONDATA-1328] Clean code for memory manag...

GitHub user kumarvishal09 opened a pull request:

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

    [CARBONDATA-1328] Clean code for memory manager and unsafe sort

    Deprecated old property: sort.inmemory.size.inmb, enable.offheap.sort
    Added new property: carbon.sort.storage.inmemory.size.inmb, carbon.unsafe.working.memory.in.mb, enable.offheap
    Removed copying of block from working memory to sort storage memory
    Now all the unsafe flow must use CarbonUnsfeMemoryManager for allocating/ removing unsafe memory
    If user has configured old property then internally it will be converted to new property
    for ex: If user has configured sort.inmemory.size.inmb then 20% memory will be used as working memory and rest for storage memory
    
    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[CARBONDATA-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
     - [ ] Testing done
     
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests are required?
            - What manual testing you have done?
            - 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 master25-07-2017

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

    https://github.com/apache/carbondata/pull/1215.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 #1215
    
----
commit 2e9b1f4ff254dc959abc7e28aca026badfea8d23
Author: kumarvishal <ku...@gmail.com>
Date:   2017-07-30T15:50:01Z

    Clean code for memory manager and unsafe sort
    Deprecated old property: sort.inmemory.size.inmb, enable.offheap.sort
    Added new property: carbon.sort.storage.inmemory.size.inmb, carbon.unsafe.working.memory.in.mb, enable.offheap
    Removed copying of block from working memory to sort storage memory
    Now all the unsafe flow must use CarbonUnsfeMemoryManager for allocating/ removing unsafe memory
    If user has configured old property then internally it will be converted to new property
    for ex: If user has configured sort.inmemory.size.inmb then 20% memory will be used as working memory and rest for storage memory

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Unsafe Code cleanup[Removed Storag...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

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



---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Clean code for memory manager and ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/681/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/684/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/683/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3280/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Unsafe Code cleanup[Removed Storag...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

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



---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3278/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata pull request #1215: [CARBONDATA-1328] Refactored Unsafe memory ma...

Posted by kumarvishal09 <gi...@git.apache.org>.
GitHub user kumarvishal09 reopened a pull request:

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

    [CARBONDATA-1328] Refactored Unsafe memory manager code  

    Deprecated old property: sort.inmemory.size.inmb, enable.offheap.sort
    Added new property: carbon.sort.storage.inmemory.size.inmb, carbon.unsafe.working.memory.in.mb, enable.offheap
    Removed copying of block from working memory to sort storage memory
    Now all the unsafe flow must use CarbonUnsfeMemoryManager for allocating/ removing unsafe memory
    If user has configured old property then internally it will be converted to new property
    for ex: If user has configured sort.inmemory.size.inmb then 20% memory will be used as working memory and rest for storage memory
    


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

    $ git pull https://github.com/kumarvishal09/incubator-carbondata master25-07-2017

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

    https://github.com/apache/carbondata/pull/1215.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 #1215
    
----
commit e6a534244995c5809e1b45d060a000f1f58f5554
Author: kumarvishal <ku...@gmail.com>
Date:   2017-07-30T15:50:01Z

    Clean code for memory manager and unsafe sort
    Deprecated old property: sort.inmemory.size.inmb, enable.offheap.sort
    Added new property: carbon.sort.storage.inmemory.size.inmb, carbon.unsafe.working.memory.in.mb, enable.offheap
    Removed copying of block from working memory to sort storage memory
    Now all the unsafe flow must use CarbonUnsfeMemoryManager for allocating/ removing unsafe memory
    If user has configured old property then internally it will be converted to new property
    for ex: If user has configured sort.inmemory.size.inmb then 20% memory will be used as working memory and rest for storage memory

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata pull request #1215: [CARBONDATA-1328] Refactored Unsafe memory ma...

Posted by kumarvishal09 <gi...@git.apache.org>.
Github user kumarvishal09 closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Unsafe Code cleanup[Removed Storag...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

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



---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3277/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Success with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/685/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed with Spark 1.6, Please check CI http://144.76.159.231:8080/job/ApacheCarbonPRBuilder/682/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Refactored Unsafe memory manager c...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3279/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata pull request #1215: [CARBONDATA-1328] Unsafe Code cleanup[Removed...

Posted by kumarvishal09 <gi...@git.apache.org>.
Github user kumarvishal09 closed the pull request at:

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


---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Unsafe Code cleanup[Removed Storag...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    SDV Build Failed with Spark 2.1, Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/35/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Unsafe Code cleanup[Removed Storag...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    SDV Build Failed with Spark 2.1, Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/251/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] carbondata issue #1215: [CARBONDATA-1328] Clean code for memory manager and ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1215
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/3276/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---