elbamos / Zeppelin-With-R

Mirror of Apache Zeppelin (Incubating)
Apache License 2.0
45 stars 24 forks source link

isSparkRSupported not found? #3

Closed robert8138 closed 8 years ago

robert8138 commented 8 years ago

This is super cool. I was trying to get this installed on my local machine, but when I

mvn clean package -DskipTests

I got the following error:

[ERROR] workspace/zeppelin/Zeppelin-With-R/r/src/main/scala/org/apache/zeppelin/rinterpreter/RContext.scala:157: error: value isSparkRSupported is not a member of org.apache.zeppelin.spark.SparkVersion
[INFO]         if (!intp.getSparkVersion().isSparkRSupported) throw new RuntimeException("SparkR requires Spark 1.4 or later")
[INFO]                                     ^
[ERROR] one error found

Do you know how I can modify SparkVersion.java to make this work?

[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  1.944 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [  3.463 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [  1.145 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 16.013 s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 15.651 s]
[INFO] Zeppelin: R Interpreter ............................ FAILURE [  5.311 s]
[INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
[INFO] Zeppelin: Angular interpreter ...................... SKIPPED
[INFO] Zeppelin: Shell interpreter ........................ SKIPPED
[INFO] Zeppelin: Hive interpreter ......................... SKIPPED
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
[INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
[INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
[INFO] Zeppelin: Flink .................................... SKIPPED
[INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
[INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
[INFO] Zeppelin: Lens interpreter ......................... SKIPPED
[INFO] Zeppelin: Cassandra ................................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
elbamos commented 8 years ago

If you look here: https://github.com/elbamos/Zeppelin-With-R/blob/rinterpreter-0.5.5/spark/src/main/java/org/apache/zeppelin/spark/SparkVersion.java

You'll see that isSparkRSupported is definitely part of the code.

The most likely suspect, is that you're trying to install this on top of an existing Zeppelin source directory, or otherwise not starting from a clean slate.

Can you try again, cloning into an empty directory? Thanks

elbamos commented 8 years ago

Ok, I'm going to close this one - it looks like you weren't actually working from a clean install. If you continue to experience problems please open a new issue.