Another way is through the terminal:
1) Go to your Hadoop_Installtion directory and then to "logs / userlogs".
2) Open the job_id directory.
3) Check directories with _m_ if you want mapper or _r_ output if you are looking for reducers.
Example : In Hadoop-20.2.0:
> ls ~ / hadoop-0.20.2 / logs / userlogs / attempt_201209031127_0002_m_000000_0 /
log.index stderr stdout syslog
The above means:
Hadoop_Installation: ~ / hadoop-0.20.2
job_id: job_201209031127_0002
_m_: task card, "card number": _000000_
4) open stdout if you used "system.out.println" or stderr if you used "system.err.append".
PS. other hadoop versions may have different hierarchies of vision, but they should all be under $ Hadoop_Installtion / logs / userlogs.
Mark 03 Sep '12 at 18:59 2012-09-03 18:59
source share