hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [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
Date Fri, 22 May 2009 08:18:45 GMT

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


Mime
View raw message