[GitHub] incubator-carbondata pull request #170: [CARBONDATA-253]OOM issue if distrib...

2016-09-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-carbondata/pull/170


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-carbondata pull request #170: [CARBONDATA-253]OOM issue if distrib...

2016-09-17 Thread kumarvishal09
GitHub user kumarvishal09 opened a pull request:

https://github.com/apache/incubator-carbondata/pull/170

[CARBONDATA-253]OOM issue if distribution is based on blocklet duing query 
execution

Problem:In case of query execution when distribution is based on blocklet 
same blocks are getting loaded multiple times this is because hash code and 
equals method contract is not same, this is can cause OOM issue if distribution 
is based on blocklet
Solution: As same class will be used to identify unique blocks while 
distribution and while loading so creating a wrapper class and implementing 
hash code and equals method based on filepath, offset and length, this will 
remove duplicate blocks and only one block's metadata will be loaded in memory 

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

$ git pull https://github.com/kumarvishal09/incubator-carbondata 
equalsAndHashCodeIssue

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

https://github.com/apache/incubator-carbondata/pull/170.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 #170


commit 49a76db0ff8e63fc95a309984d215086d888fc7b
Author: kumarvishal 
Date:   2016-09-17T13:25:36Z

equalsAndHashCodeIssue




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---