Sai Sai 2013-03-28, 05:07
-Re: Inspect a context object and see whats in it
Yanbo Liang 2013-03-28, 15:57
You can try to add some probes to source code and recompile it.
If you want to know the keys and values you add at each step, you can add
print code to map() function of class Mapper and reduce() function of class
The shortcoming is that you will produce many log output which may fill the
2013/3/28 Sai Sai <[EMAIL PROTECTED]>
> I have put a break pt in map/reduce method and tried looking thru the
> context object by using the option inspect
> i see a lot of variables inside it but wondering if it is possible to look
> at the contents in it meaningfully
> by contents i mean the keys and values only that we add at each step.
> Please let me know if you have suggestions.