nerdexam
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)
  • A
    13% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    79% (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.

Full CCA-410 Practice