I hit a breakpoint on the code .
Right debug option no debug on hadoop
But the run has run on hadoop options.
there are ways to use the debug mode do ?
------ Solution ---------------------------------------- ----
you can single-step debugging in eclipse MR scheduling code, such as MAIN and RUN
However, for MAP-REDUCE code debugging more trouble , the proposed LZ in MAP-RED method to add custom debugging counters , allowing you to print out the debug code
------ Solution --------------------------------------------
System. out.println is the best debugging
没有评论:
发表评论