We can do a "try except" in the loop that process data line by line, to print out the stack trace in python, as well as the line of data that caused the problem.
Zheng On Sun, Sep 6, 2009 at 8:46 PM, Min Zhou <[email protected]> wrote: > Hi all, > Currently, debugging a streaming written in other languages like python is > very difficult for us. We ofen come up against such problems, we passed > running python scripts in local mode, but failed when as streaming scripts > in hive. How can I locate bugs we made? > > > Thanks, > Min > -- > My research interests are distributed systems, parallel computing and > bytecode based virtual machine. > > My profile: > http://www.linkedin.com/in/coderplay > My blog: > http://coderplay.javaeye.com > -- Yours, Zheng
