When Python script fails, you should be able to see the stderr messages on the task log page on JobTracker.
http://diveintopython.org/file_handling/index.html will show you how to print out the stack trace. Zheng On Thu, Sep 17, 2009 at 9:00 AM, Min Zhou <[email protected]> wrote: > Hi Zheng, > > Can you give a example, I can't catch your meaning. > > Thanks, > Min > > > On Tue, Sep 8, 2009 at 3:19 AM, Zheng Shao <[email protected]> wrote: > >> 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 >> > > > > -- > 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
