You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ravi Gummadi (JIRA)" <ji...@apache.org> on 2009/05/22 10:18:45 UTC

[jira] Updated: (HADOOP-5895) Log message shows -ve number of bytes to be merged in the final merge pass when there are no intermediate merges and merge factor is < number of segments

     [ https://issues.apache.org/jira/browse/HADOOP-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Gummadi updated HADOOP-5895:
---------------------------------

    Attachment: HADOOP-5895.patch

In computeBytesInMerges, getPassFactor() can return factor < number of segments and even though n++ is done based on condition includeFinalMerge, that is not good enough for the while loop to be executed.

Attaching patch with the fix. Please review and provide your comments.

> Log message shows -ve number of bytes to be merged in the final merge pass when there are no intermediate merges and merge factor is < number of segments
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5895
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5895
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5895.patch
>
>
> Log message shows -ve number of bytes to be merged in the final merge pass when there are no intermediate merges and the mergeFactor is < total number of segments to be merged. This issue is because of code changes done in HADOOP-5572.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.