Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.2k views
in Technique[技术] by (71.8m points)

Azure- HDInsight Spark- The code failed because of a fatal error: Neither SparkSession nor HiveContext/SqlContext is available

In jupyter Notebook kernel PySpark3 (HDInsight Spark cluster) I've got " The code failed because of a fatal error: Neither SparkSession nor HiveContext/SqlContext is available" error when I did all steps describe in "Safely manage Python environment on Azure HDInsight using Script Action" https://docs.microsoft.com/en-us/azure/hdinsight/spark/apache-spark-python-package-installation?fbclid=IwAR1eDOEaBrRgJQMZY8HeCPW_C9pfVw6Qq6MOhA7q_PKpfzRa2R51QDR1dlE

Could you help me ? the best option for me would be to add one new package (SpaCy) to PySpark3 kernel (py35 env.). How can I do this?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...