Cloudera
CCA-410 · Question #54
How do you access the long messages a mapreduce application generates after you run it on your cluster?
The correct answer is D. You browse the currect working directory of the client machine from which You submitted the job. Run the application: $ bin/hadoop jar /usr/joe/wordcount.jar org.myorg.WordCount /usr/joe/wordcount/input /usr/joe/wordcount/output $ bin/hadoop dfs -cat /usr/joe/wordcount/output/part-00000 Bye 1
Monitoring and Logging
Question
How do you access the long messages a mapreduce application generates after you run it on your cluster?
Options
- AYou connect to the job tracker web UI and locate the details for your job this will include long messages
- BYou remotely log in to any slave node in the cluster to browse your jobs log files in/var/log/hadoop/archive
- CYou browse the /logs directly in HDFS where all jobs log files as store
- DYou browse the currect working directory of the client machine from which You submitted the job
How the community answered
(24 responses)- A13% (3)
- B4% (1)
- C4% (1)
- D79% (19)
Explanation
Run the application: $ bin/hadoop jar /usr/joe/wordcount.jar org.myorg.WordCount /usr/joe/wordcount/input /usr/joe/wordcount/output $ bin/hadoop dfs -cat /usr/joe/wordcount/output/part-00000 Bye 1
Topics
#MapReduce logs#job logs#log access
Community Discussion
No community discussion yet for this question.