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

Chris K Wensel commented on HADOOP-4510:
----------------------------------------

The simple solution is to make the method public.

The alternative of not having RecordWriters write to this magic directory seems 
more daunting considering this bit of Hadoop changes every release. 

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

Reply via email to