Cloudera
DS-200 · Question #26
You have just run a MapReduce job to filter user messages to only those of a selected geographical region. The output for this job in a directory named westUsers, located just below your home…
The correct answer is B. Hadoop fs - get 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 in a directory named westUsers, located just below your home directory in HDFS. Which command gathers these records into a single file on your local file system?
Options
- AHadoop fs - getmerge westUsers WestUsers.txt
- BHadoop fs - get westUsers WestUsers.txt
- CHadoop fs - cp westUsers/* westUsers.txt
- DHadoop fs - getmerge -R westUsers westUsers.txt
How the community answered
(21 responses)- A14% (3)
- B71% (15)
- C5% (1)
- D10% (2)
Community Discussion
No community discussion yet for this question.