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

Chesnay Schepler commented on FLINK-3119:
-----------------------------------------

my point is i don't see how you could make it more general and still be able to 
use it like in the hadoop-compatibility examples, as in
{code}
HadoopOutputFormat<Text, LongWritable> hadoopOutputFormat 
= new HadoopOutputFormat<Text, LongWritable>(new TextOutputFormat<Text, 
LongWritable>(), new JobConf());
{code}
You would have to create your own implementation for your jobs to specify the 
third generic type which wraps the key and value, like functions in the API's. 
Which in the end is the same thing you already did, but instead of extending 
HadoopOutputFormatBase you would extend HadoopOutputFormat.

> Remove dependency on Tuple from HadoopOutputFormat
> --------------------------------------------------
>
>                 Key: FLINK-3119
>                 URL: https://issues.apache.org/jira/browse/FLINK-3119
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Nick Dimiduk
>            Priority: Minor
>
> {{HadoopOutputFormat}}'s dependency on {{Tuple}} precludes it's use by folks 
> using other serialization methods (ie, their own POJO's). Would be good to 
> make this class more broadly useful to folks, or somehow mark this 
> implementation as specifically dependent on {{Tuple}} -- it's not at all 
> obvious from its name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to