0 votes
in Hadoop by
Can we write the output of MapReduce in different formats?

1 Answer

0 votes
by

Yes. Hadoop supports various input and output formats, such as:

TextOutputFormat - This is the default output format and it writes records as lines of text. 

SequenceFileOutputFormat - This is used to write sequence files when the output files need to be fed into another MapReduce job as input files.

MapFileOutputFormat - This is used to write the output as map files. 

SequenceFileAsBinaryOutputFormat - This is another variant of SequenceFileInputFormat. It writes keys and values to a sequence file in binary format.

DBOutputFormat - This is used for writing to relational databases and HBase. This format also sends the reduce output to a SQL table.

Hadoop Interview Questions - YARN

Now, let’s learn about resource management and the job scheduling unit in Hadoop, which is YARN (Yet Another Resource Negotiator).

Related questions

0 votes
asked Nov 24, 2020 in Hadoop by rahuljain1
0 votes
asked Jun 21, 2023 in Hadoop by sharadyadav1986
...