Cloudera
CCA-410 · Question #54
CCA-410 Question #54: Real Exam Question with Answer & Explanation
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
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
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
Community Discussion
No community discussion yet for this question.