目录
1. 概述
在开发Flink程序时,如果在Flink application中要用到Hadoop的input-/output format,如下图所示,只需引入Hadoop兼容包即可(Hadoop compatibility wrappers)
例如Flink官网给出的文档Hadoop 兼容 Beta
Support for Hadoop input/output formats is part of the flink-java
and flink-scala
Maven modules that are always required when writing Flink jobs. The code is located in org.apache.flink.api.java.hadoop
and org.apache.flink.api.scala.hadoop
in an additional sub-package for the mapred
and mapreduce
API.
Support for Hadoop Mappers and Reducers is contained in the flink