hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4927) Part files on the output filesystem are created irrespective of whether the corresponding task has anything to write there
Date Wed, 18 Feb 2009 22:20:02 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674809#action_12674809
] 

Doug Cutting commented on HADOOP-4927:
--------------------------------------

A minor nit: in FilterOutputFormat, the checks for a null baseOut and null rawWriter might
be better factored into private getBaseOut() and getRawWriter methods, so that the body of
most filter methods is just one line, e.g., 'return getBaseOut().getRecordWriter(...);'. 
Other than that, +1.


> Part files on the output filesystem are created irrespective of whether the corresponding
task has anything to write there
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4927
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4927
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>            Reporter: Devaraj Das
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-4927-v1.patch, hadoop-4927-v2.patch, hadoop-4927-v3.patch,
hadoop-4927-v4.patch, hadoop-4927-v5.patch, hadoop-4927.patch
>
>
> When OutputFormat.getRecordWriter is invoked, a part file is created on the output filesystem.
But the created RecordWriter is not used until the OutputCollector.collect call is made by
the task (user's code). This results in empty part files even if the OutputCollector.collect
is never invoked by the corresponding tasks.

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