Github user yywwd commented on the issue: https://github.com/apache/zeppelin/pull/2231 @zjffdu This issue is not related to the codes run in zeppelin. I mean, I cannot guarantee âUsing Livy interpreter in Zeppelinâ and "Using Programmatic API" work well at the same time. Using Zeppelin, I just write codes like this: ``` %livy.pyspark sc.version ``` just test whether it works. Using Programmatic API, I just use official examples: https://github.com/apache/incubator-livy/blob/master/examples/src/main/python/pi_app.py **BUT!!!** In **livy.spark.master yarn-cluster** mode zeppelin works, programmatic API cannot work In **livy.spark.master yarn** mode (the default mode), programmatic API works, zeppelin cannot work
---