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