You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by mohammadshahidkhan <gi...@git.apache.org> on 2016/08/23 15:20:35 UTC

[GitHub] incubator-carbondata pull request #87: [CARBONDATA-171] Block distribution n...

GitHub user mohammadshahidkhan opened a pull request:

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

    [CARBONDATA-171] Block distribution not proper when the number of active executors more than the node size

    Secenario:
    suppose block size : 10
    Node size = 3
    Number of executors = 8
    then only 6 blocks are allocated remaining 4 blocks lefts un- assigned.


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

    $ git pull https://github.com/mohammadshahidkhan/incubator-carbondata block_distribution_when_with_duplicate_active_node

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

    https://github.com/apache/incubator-carbondata/pull/87.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 #87
    
----
commit b21aae8eb00d9c54a801d8a8c0dc92b11d094a2b
Author: mohammadshahidkhan <mo...@gmail.com>
Date:   2016-08-23T15:17:28Z

    [CARBONDATA-171] Block distribution not proper when the number of active executors more than the node size

----


---
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] incubator-carbondata pull request #87: [CARBONDATA-171] Block distribution n...

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

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


---
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] incubator-carbondata pull request #87: [CARBONDATA-171] Block distribution n...

Posted by gvramana <gi...@git.apache.org>.
Github user gvramana commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/87#discussion_r75907088
  
    --- Diff: integration/spark/src/main/java/org/apache/carbondata/spark/load/CarbonLoaderUtil.java ---
    @@ -1204,12 +1208,14 @@ private static void assignLeftOverBlocks(Map<String, List<Distributable>> output
     
         if (activeNodes != null) {
           for (String activeNode : activeNodes) {
    -        List<Distributable> blockLst = outputMap.get(activeNode);
    --- End diff --
    
    Don't use getBlockList here, it costly. Instead in previous output map population logic, always populate active node name only.


---
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.
---