Is it possible to have hadoop job output in multiple directories? If yes, how?



Is it possible to have hadoop job output in multiple directories? If yes, how?..

Answer / Sachin Batra

Yes, it is possible to have Hadoop job output in multiple directories. This can be achieved by calling the 'setOutputPath' method multiple times with different Path objects in the Reducer class. Alternatively, you can create a custom OutputFormat that allows writing to multiple locations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hadoop General Interview Questions

What is the job tracker role in hadoop?

1 Answers  


Can you give some examples of Big Data?

1 Answers  


What does secondary name-node means?

1 Answers  


What is the procedure for namenode recovery?

1 Answers  


Can you explain indexing?

1 Answers  


What is the difference between TextinputFormat and KeyValueTextInputFormat class?

1 Answers  


Mention what daemons run on a master node and slave nodes?

1 Answers  


Explain what is a sequence file in hadoop?

1 Answers  


Compare Apache Hadoop and Apache Spark?

1 Answers  


How can you native libraries be included in yarn jobs?

1 Answers  


What is single node cluster in Hadoop? for what all purposes Hadoop run on a single node cluster?

1 Answers  


What are the main features and Characteristics of Hadoop which makes it the most popular and powerful Big Data tool?

1 Answers  


Categories