I debug using eclipse. For example, if I need to debug JobTracker, I
put the following lines in the hadoop script:
elif [ "$COMMAND" = "jobtracker" ] ; then
#HADOOP_OPTS="$HADOOP_OPTS -
agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"
CLASS=org.apache.hadoop.mapred.JobTracker
the I just start everything up using start-all.sh. I should note that
I always debug code built inside of eclipse. I don't use ant. I just
import Java projects from SVN and export JAR files.
ben
On May 24, 2006, at 8:49 AM, Dennis Kubes wrote:
Has anyone been able to successfully debug DFS and MapReduce
servers running though eclipse. I can get all the servers started
and can run MapReduce tasks inside of eclipse but I am getting both
classpath errors and debugging stalls.
I am just curious what kinds of setups people have for doing large
scale development of DFS and MapReduce?
Dennis