V
V
V2016-11-14 12:08:24
Python
V, 2016-11-14 12:08:24

How to run GraphX ​​in IPython Notebook?

Hello. I want to put kernel Apache Toree in Ipython notebook to work with GraphX. I followed this tutorial: technippet.blogspot.ru/2016/02/running-apache-spar...
That is, I wrote

pip install toree
jupyter toree install --spark_home=/path_to_folder/

As a result, the kernel appeared, but at startup it freezes and does not work. In the console it writes something like
16/11/14 11:57:27 [INFO] o.a.t.Main$$anon$1 - Scala version: Some(2.10.4)
16/11/14 11:57:27 [INFO] o.a.t.Main$$anon$1 - ZeroMQ (JeroMQ) version: 3.2.2
16/11/14 11:57:27 [INFO] o.a.t.Main$$anon$1 - Initializing internal actor system
Exception in thread "main" java.lang.NoSuchMethodError: scala.collection.immutable.HashSet$.empty()Lscala/collection/immutable/HashSet;
  at akka.actor.ActorCell$.<init>(ActorCell.scala:336)
  at akka.actor.ActorCell$.<clinit>(ActorCell.scala)
  at akka.actor.RootActorPath.$div(ActorPath.scala:185)
  at akka.actor.LocalActorRefProvider.<init>(ActorRefProvider.scala:465)

Scala 2.10, Spark - spark-2.0.2-bin-hadoop2.7

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question