The error seems a little weird, what version of zeppelin do you use ? Did you do any change on the source code ?
Manuel Sopena Ballesteros <manuel...@garvan.org.au> 于2019年10月18日周五 下午2:36写道: > Dear Zeppelin community, > > > > I am playing the script below in Zeppelin yarn cluster mode: > > > > %pyspark > > print("Hello world!") > > > > output: > > > > <console>:5: error: object zeppelin is not a member of package org.apache > var value: org.apache.zeppelin.spark.SparkZeppelinContext = _ ^ > <console>:6: error: object zeppelin is not a member of package org.apache > def set(x: Any) = value = > x.asInstanceOf[org.apache.zeppelin.spark.SparkZeppelinContext] ^ > /d1/hadoop/yarn/local/usercache/mansop/appcache/application_1570749574365_0038/container_e15_1570749574365_0038_01_000001/tmp/zeppelin_pyspark-5060717441683949247.py:179: > UserWarning: Unable to load inline matplotlib backend, falling back to Agg > warnings.warn("Unable to load inline matplotlib backend, " Hello world! > > > > Any idea why am I getting these errors? > > > > Thank you > NOTICE > Please consider the environment before printing this email. This message > and any attachments are intended for the addressee named and may contain > legally privileged/confidential/copyright information. If you are not the > intended recipient, you should not read, use, disclose, copy or distribute > this communication. If you have received this message in error please > notify us at once by return email and then delete both messages. We accept > no liability for the distribution of viruses or similar in electronic > communications. This notice should not be removed. > -- Best Regards Jeff Zhang