I am debugging an application on pyspark. When I call
It will throw some errors. There should be some problems in the function f. I try to print something out and write something to the file system in the function f, but it cannot work.
Can anybody tell me how to print something out for debugging the application?