You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Takanobu Asanuma (JIRA)" <ji...@apache.org> on 2019/02/12 11:34:00 UTC

[jira] [Comment Edited] (MAPREDUCE-7184) TestJobCounters#getFileSize can ignore crc file

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

Takanobu Asanuma edited comment on MAPREDUCE-7184 at 2/12/19 11:33 AM:
-----------------------------------------------------------------------

[~Prabhu Joseph] Thanks for reporting the issue and uploading the patch.

The errors occur after HADOOP-15229 is merged. Looks like the BYTES_READ counter considered length of crc files until then. I'm not sure whether \{{TestJobCounters#getFileSize}} can ignore crc file.

[~stevel@apache.org] Could you take a look?


was (Author: tasanuma0829):
[~Prabhu Joseph] Thanks for reporting the issue and uploading the patch.

The errors occur after HADOOP-15229 is merged. Looks like the BYTES_READ counter considered length of crc files until then. So I'm not sure the patch is right.

[~stevel@apache.org] Could you take a look?

> TestJobCounters#getFileSize can ignore crc file
> -----------------------------------------------
>
>                 Key: MAPREDUCE-7184
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7184
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: MAPREDUCE-7184-001.patch, MAPREDUCE-7184-002.patch, MAPREDUCE-7184-003.patch
>
>
> TestJobCounters test cases are failing in trunk while validating the input files size with BYTES_READ by the job. The crc files are considered in getFileSize whereas the job FileInputFormat ignores them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org