Viewing Logs for Completed MapReduce v1 Jobs

With centralized logging, you can use the maprcli to generate a centralized view of the logs and then view the logs.
  1. Use the maprcli job linklogs command to create centralized logs for completed jobs.For example, you can run the maprcli job linklogs command to do the following:-To link logs for a single job (job_201204041514_0001), run maprcli job linklogs -jobid job_201204041514_0001 -todir /myvolume/joblogviewdir -To link logs for all jobs by the current shell users, run maprcli job linklogs -jobid job_${USER} -todir /myvolume/joblogviewdir -To link logs for all jobs named wordcount1, run maprcli job linklogs -jobid job_*_wordcount1 -todir /myvolume/joblogviewdir
  2. Go to the directory specified by the -todir parameter to view the logs.