[ https://issues.apache.org/jira/browse/HADOOP-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711990#action_12711990 ]
Ravi Gummadi edited comment on HADOOP-5895 at 5/25/09 9:01 PM: --------------------------------------------------------------- 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. was (Author: ravidotg): 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, HADOOP-5895.v1.1.patch, > HADOOP-5895.v1.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.