You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/12/12 12:12:41 UTC

[GitHub] KarmaGYZ commented on a change in pull request #7283: [hotfix][docs] Fix the mismatch generic type in hadoop compatibility doc

KarmaGYZ commented on a change in pull request #7283: [hotfix][docs] Fix the mismatch generic type in hadoop compatibility doc
URL: https://github.com/apache/flink/pull/7283#discussion_r240990297
 
 

 ##########
 File path: docs/dev/batch/hadoop_compatibility.md
 ##########
 @@ -192,9 +192,9 @@ The following example shows how to use Hadoop `Mapper` and `Reducer` functions.
 
 {% highlight java %}
 // Obtain data to process somehow.
-DataSet<Tuple2<Text, LongWritable>> text = [...]
+DataSet<Tuple2<LongWritable, Text>> text = [...]
 
-DataSet<Tuple2<Text, LongWritable>> result = text
+DataSet<Tuple2<LongWritable, Text>> result = text
 
 Review comment:
   Good catch!
   Thanks for the quick review.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services