hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4510) FileOutputFormat protects getTaskOutputPath
Date Fri, 24 Oct 2008 03:39:46 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642372#action_12642372

Amareshwari Sriramadasu commented on HADOOP-4510:

Users can get the task's temporary output path from the api FileOutputFormat.getWorkOutputPath(),
where he can create side files and etc. 
The method FileOutputFormat.getTaskOutputPath() is used internally by the RecordWriters. And
it is protected sothat outputFormats extending FileOutputFormat can use this in RecordWriters.
I dont see a reason why this should be made public.

> FileOutputFormat protects getTaskOutputPath
> -------------------------------------------
>                 Key: HADOOP-4510
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4510
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Chris K Wensel
>            Priority: Blocker
>         Attachments: hadoop-4510.patch
> o.a.h.m.FileOutputFormat#getTaskOutputPath() is protected. 
> Having access to a task output directory as used internally by RecordWriters is quite
handy. This is especially true if the user is attempting to serialize out data in a similar
fashion as the output collector.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message