Spark 2.3.1 not working on Java 10

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Spark 2.3.1 not working on Java 10

rahulagrawal
Dear Team,

I have installed Java 10, Scala 2.12.6 and spark 2.3.1 in my desktop having Ubuntu 16.04. I am getting error opening spark-shell.

Failed to initialize compiler: object java.lang.Object in compiler mirror not found. 

Please let me know if there is any way to run spark in Java 10.

Thanks,
Rahul
Reply | Threaded
Open this post in threaded view
|

Re: Spark 2.3.1 not working on Java 10

Felix Cheung
I’m not sure we have completed support for Java 10


From: Rahul Agrawal <[hidden email]>
Sent: Thursday, June 21, 2018 7:22:42 AM
To: [hidden email]
Subject: Spark 2.3.1 not working on Java 10
 
Dear Team,

I have installed Java 10, Scala 2.12.6 and spark 2.3.1 in my desktop having Ubuntu 16.04. I am getting error opening spark-shell.

Failed to initialize compiler: object java.lang.Object in compiler mirror not found. 

Please let me know if there is any way to run spark in Java 10.

Thanks,
Rahul
Reply | Threaded
Open this post in threaded view
|

Re: Spark 2.3.1 not working on Java 10

rahulagrawal
Thanks Felix. Do you know if you support Java 9?

Thanks,
Rahul

On Thu, Jun 21, 2018 at 8:11 PM, Felix Cheung <[hidden email]> wrote:
I’m not sure we have completed support for Java 10


From: Rahul Agrawal <[hidden email]>
Sent: Thursday, June 21, 2018 7:22:42 AM
To: [hidden email]
Subject: Spark 2.3.1 not working on Java 10
 
Dear Team,

I have installed Java 10, Scala 2.12.6 and spark 2.3.1 in my desktop having Ubuntu 16.04. I am getting error opening spark-shell.

Failed to initialize compiler: object java.lang.Object in compiler mirror not found. 

Please let me know if there is any way to run spark in Java 10.

Thanks,
Rahul

Reply | Threaded
Open this post in threaded view
|

Re: Spark 2.3.1 not working on Java 10

chriswakare
In reply to this post by rahulagrawal
Hi Rahul,
This will work only in Java 8.
Installation does not work with both version 9 and 10

Thanks,
Christopher



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Spark 2.3.1 not working on Java 10

vaquar khan
https://spark.apache.org/docs/2.3.0/

Avoid confusion we need to updated doc with supported java version "Java8 + " word confusing for users 

Spark runs on Java 8+, Python 2.7+/3.4+ and R 3.1+. For the Scala API, Spark 2.3.0 uses Scala 2.11. You will need to use a compatible Scala version (2.11.x).



Regards,
Vaquar khan 

On Thu, Jun 21, 2018 at 11:56 AM, chriswakare <[hidden email]> wrote:
Hi Rahul,
This will work only in Java 8.
Installation does not work with both version 9 and 10

Thanks,
Christopher



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]




--
Regards,
Vaquar Khan
+1 -224-436-0783
Greater Chicago
Reply | Threaded
Open this post in threaded view
|

Re: Spark 2.3.1 not working on Java 10

Takeshi Yamamuro
In this ticket SPARK-24201, the ambiguous statement in the doc had been pointed out.
can you make pr for that?

On Fri, Jun 22, 2018 at 6:17 AM, vaquar khan <[hidden email]> wrote:
https://spark.apache.org/docs/2.3.0/

Avoid confusion we need to updated doc with supported java version "Java8 + " word confusing for users 

Spark runs on Java 8+, Python 2.7+/3.4+ and R 3.1+. For the Scala API, Spark 2.3.0 uses Scala 2.11. You will need to use a compatible Scala version (2.11.x).



Regards,
Vaquar khan 

On Thu, Jun 21, 2018 at 11:56 AM, chriswakare <[hidden email]> wrote:
Hi Rahul,
This will work only in Java 8.
Installation does not work with both version 9 and 10

Thanks,
Christopher



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]




--
Regards,
Vaquar Khan
+1 -224-436-0783
Greater Chicago



--
---
Takeshi Yamamuro
Reply | Threaded
Open this post in threaded view
|

Re: Spark 2.3.1 not working on Java 10

vaquar khan
Sure let me check Jira

Regards,
Vaquar khan

On Thu, Jun 21, 2018, 4:42 PM Takeshi Yamamuro <[hidden email]> wrote:
In this ticket SPARK-24201, the ambiguous statement in the doc had been pointed out.
can you make pr for that?

On Fri, Jun 22, 2018 at 6:17 AM, vaquar khan <[hidden email]> wrote:
https://spark.apache.org/docs/2.3.0/

Avoid confusion we need to updated doc with supported java version "Java8 + " word confusing for users 

Spark runs on Java 8+, Python 2.7+/3.4+ and R 3.1+. For the Scala API, Spark 2.3.0 uses Scala 2.11. You will need to use a compatible Scala version (2.11.x).



Regards,
Vaquar khan 

On Thu, Jun 21, 2018 at 11:56 AM, chriswakare <[hidden email]> wrote:
Hi Rahul,
This will work only in Java 8.
Installation does not work with both version 9 and 10

Thanks,
Christopher



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]




--
Regards,
Vaquar Khan
+1 -224-436-0783
Greater Chicago



--
---
Takeshi Yamamuro