hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "HowToDebugMapReducePrograms" by Amareshwari
Date Mon, 01 Oct 2007 05:33:28 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by Amareshwari:
http://wiki.apache.org/lucene-hadoop/HowToDebugMapReducePrograms

------------------------------------------------------------------------------
  
  A quick way to set debug command is to set the properties "mapred.map.task.debug.command"
and "mapred.reduce.task.debug.command" for debugging map task and reduce task respectively.
  These properties can also be set by APIs conf.setMapDebugCommand(String cmd) and conf.setReduceDebugCommand(String
cmd).
- The debug command can consist of @stdout@, @stderr@, @syslog@ and @core@ to access task's
stdout, stderr syslog and core files respectively.
+ The debug command can consist of @stdout@, @stderr@, @syslog@ and @core@ to access task's
stdout, stderr, syslog and core files respectively.
  In case of streaming debug command can be submitted with command-line options -mapdebug,
-reducedebug for debugging mapper and redcuer respectively.
  
  For example, the debug command can be 'myScript @stderr@'. This command has executable myScript.
And myScript processes failed task's stderr.

Mime
View raw message