- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HDP2.6 / Zeppelin0.7 / How to have both Spark 1.6.3 & spark2 interpreters?
- Labels:
-
Apache Spark
-
Apache Zeppelin
Created on 05-24-2017 02:16 PM - edited 08-18-2019 01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
After upgrading HDP to 2.6 and getting the GA release of Spark 2.1, i'm trying (to no luck so far) to add Spark2 Interpreter in Zeppelin (if possible at all).
I did create a new interpreter spark2 in Zeppelin
which will be instantiate properly (%spark2), however sc.version indicates that i'm still running Spark 1.6.3.
Digging in the config & the doc, I found out that SPARK_HOME is defined in zeppelin-env.sh, pointing by default to Spark 1.6.63.
Editing the config & restart Zeppelin will "work" in the sense that I can now successfully instantiate Spark2, but Spark 1.6.3 is not available anymore from the notebook (and livy is still configured to Spark 1.6.3).
Is there any way to create interpreters to allow using both Spark 1.6.3 & Spark 2 from Zeppelin 0.7 ?
Thanks
Christophe
Created 05-25-2017 04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend you download the Sandbox:
https://hortonworks.com/products/sandbox/
From Zeppelin, and in the one notebook, you can run different versions of Spark (1.6.3 or 2.1) as per your choice of interpreter: %spark.spark or %spark2.spark
You can review the settings used in the Interpreter screen.
Regards,
Created 05-25-2017 04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend you download the Sandbox:
https://hortonworks.com/products/sandbox/
From Zeppelin, and in the one notebook, you can run different versions of Spark (1.6.3 or 2.1) as per your choice of interpreter: %spark.spark or %spark2.spark
You can review the settings used in the Interpreter screen.
Regards,
