zeppelin报错 java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext. This stop

 

报错:java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext. This stopped SparkContext was created at:

 

原因之一是之前你在spark webui里面吧zeppelin给kill掉了;zeppelin以为他自己还连着spark,直接就去拿sparkContext,然而并没有,所以报错;

解决方法:

    zeppelin页面,右上角点击,选interpreter,搜索spark,重启spark解释器连接;这样zeppelin就会重新初始化sparkContext;

你可能感兴趣的:(zeppelin)