Correct Answer : Get Lastest Questions and Answer : Explanation: OutputFormat describes the output-specification for a Map-Reduce job. The Map-Reduce framework relies on the OutputFormat of the job to:
Validate the output-specification of the job. For e.g. check that the output directory doesn't already exist. Provide the RecordWriter implementation to be used to write out the output files of the job. Output files are stored in a FileSystem.
Question : You are running a word count MapReduce job. But somehow job is not successfully completed and fails after processing % of reducer class. Which statement is correct in this case?
1. It will generate 90% output only
2. It will only generate _logs directory as output
Correct Answer : Get Lastest Questions and Answer : Explanation: A job that does not successful only generate an _logs directory as output. All other partial reducer output will not be written.
Question : Select correct statements
1. RecordWriter writes the key-value pairs to the output files
2. The TextOutputFormat.LineRecordWriter implementation requires a java.io.DataOutputStream object to write the key-value pairs to the HDFS/MapR-FS file system
Correct Answer : Get Lastest Questions and Answer : Explanation: RecordWriter writes the output pairs to an output file. RecordWriter implementations write the job outputs to the FileSystem.