Thanks for your reply. you mean i have to insert some codes, such as xxxxx.count or xxxxx.collect, between the original spark code lines to invoke some operations, right? but, where is the right places to put my code lines?
Felix ________________________________ 发件人: Dirceu Semighini Filho <dirceu.semigh...@gmail.com> 发送时间: 2016年9月14日 22:33 收件人: chen yong 抄送: user@spark.apache.org 主题: Re: t it does not stop at breakpoints which is in an anonymous function Hello Felix, Spark functions run lazy, and that's why it doesn't stop in those breakpoints. They will be executed only when you call some methods of your dataframe/rdd, like the count, collect, ... Regards, Dirceu 2016-09-14 11:26 GMT-03:00 chen yong <cy...@hotmail.com<mailto:cy...@hotmail.com>>: Hi all, I am newbie to spark. I am learning spark by debugging the spark code. It is strange to me that it does not stop at breakpoints which is in an anonymous function, it is normal in ordianry function, though. It that normal. How to obverse variables in an anonymous function. Please help me. Thanks in advance! Felix