Cloudera
CCA-500 · Question #38
You have just run a MapReduce job to filter user messages to only those of a selected geographical region. The output for this job is in a directory named westUsers, located just below your home…
The correct answer is B. Hadoop fs -getemerge westUsers westUsers.txt. See the full explanation below for the reasoning.
Question
You have just run a MapReduce job to filter user messages to only those of a selected geographical region. The output for this job is in a directory named westUsers, located just below your home directory in HDFS. Which command gathers these into a single file on your local file system?
Options
- AHadoop fs -getmerge -R westUsers.txt
- BHadoop fs -getemerge westUsers westUsers.txt
- CHadoop fs -cp westUsers/* westUsers.txt
- DHadoop fs -get westUsers westUsers.txt
How the community answered
(56 responses)- A14% (8)
- B75% (42)
- C4% (2)
- D7% (4)
Community Discussion
No community discussion yet for this question.