FAQ
Task logs are written to userlogs directory on the TT nodes. You can
view task logs on the JobTracker/TaskTracker web UI for each task at:

http://machine:50030/taskdetails.jsp?jobid=<JOBID>&tipid=<TASKID>

All of syslogs, stdout and stderr logs are available in the links to
logs off that page.

2011/7/28 Daniel,Wu <hadoop_wu@163.com>:
Hi everyone,

I am new to it, and want to do some debug/log. I'd like to check what the value is for each mapper execution. If I add the following code in bold, where can I find the log info? If I can't do it in this way, how should I do?

public void map(Object key, Text value, Context context
) throws IOException, InterruptedException {
StringTokenizer itr = new StringTokenizer(value.toString());
System.out.println(value.toString);
while (itr.hasMoreTokens()) {
word.set(itr.nextToken());
context.write(word, one);
}
}
}


--
Harsh J

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupcommon-user @
categorieshadoop
postedJul 28, '11 at 6:17a
activeJul 28, '11 at 7:05a
posts3
users3
websitehadoop.apache.org...
irc#hadoop

3 users in discussion

Devaraj K: 1 post Harsh J: 1 post Daniel,Wu: 1 post

People

Translate

site design / logo © 2022 Grokbase