[jira] [Commented] (CARBONDATA-246) compaction is wrong in case if last segment is not assigned to an executor.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-246) compaction is wrong in case if last segment is not assigned to an executor.

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15497154#comment-15497154 ]

ASF GitHub Bot commented on CARBONDATA-246:
-------------------------------------------

GitHub user ravikiran23 opened a pull request:

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

    [CARBONDATA-246] compaction is wrong in case if last segment is not assigned to an executor.

    PROBLEM:
   
    if during compaction of 4 loads, for any executor if only first 3 loads task is assigned then the col cardinality calculation based on the last segment info will become wrong.
   
    in this case the cardinality will go wrong for that executor.
   
    Solution :
   
    Pass the segment properties info from the driver using the last segment.


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

    $ git pull https://github.com/ravikiran23/incubator-carbondata blockDistributionProblem

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

    https://github.com/apache/incubator-carbondata/pull/161.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 #161
   
----
commit 9a0dbc0df8ae091dff0d02133295ce2344cf6734
Author: ravikiran <[hidden email]>
Date:   2016-09-16T19:16:24Z

    if during compaction of 4 loads, for any executor if only first 3 loads task is assigned then the col cardinality calculation based on the last segment info will become wrong.
   
    in this case the cardinality will go wrong for that executor.

----


>  compaction is wrong in case if last segment is not assigned to an executor.
> ----------------------------------------------------------------------------
>
>                 Key: CARBONDATA-246
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-246
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: ravikiran
>
> if during compaction of 4 loads, for any executor if only first 3 loads task is assigned then the col cardinality calculation based on the last segment info will become wrong.
> in this case the cardinality will go wrong for that executor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)