Hadoop MapReduce InputFormat Deprecated?

I need to implement a custom (service) input source for a Hadoop MapReduce application. I google'd and SO'd and found that one of the ways is to implement a custom InputFormat. It is right?

Apparently according to http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/mapred/InputFormat.html Input methods Format getRecordReader () and getSplits () are deprecated. What is the replacement?

The Hadoop WordCount example still uses the same ...

+3
source share
3 answers

From the documentation:

Deprecated Interfaces

...

org.apache.hadoop.mapred.InputFormat

InputFormat.

...

- 0.20.2 , . - 0.21.0, . .

+2

Hadoop - , , . Hadoop , , , , . , , stackoverflow

+5

, 0.20 API. API , , , API "" . API, , , .

+4
source

Source: https://habr.com/ru/post/1779116/


All Articles