Anyone knows how to build and spark on jdk9?

2017-10-26 Thread Zhang, Liyun
Hi all: 1. I want to build spark on jdk9 and test it with Hadoop on jdk9 env. I search for jiras related to JDK9. I only found SPARK-13278. This means now spark can build or run successfully on JDK9 ? Best Regards Kelly Zhang/Zhang,Liyu

Re: Anyone knows how to build and spark on jdk9?

2017-10-26 Thread Reynold Xin
It probably depends on the Scala version we use in Spark supporting Java 9 first. On Thu, Oct 26, 2017 at 7:22 PM Zhang, Liyun wrote: > Hi all: > > 1. I want to build spark on jdk9 and test it with Hadoop on jdk9 > env. I search for jiras related to JDK9. I only found SPARK-13278 >

RE: Anyone knows how to build and spark on jdk9?

2017-10-26 Thread Zhang, Liyun
...@spark.apache.org Subject: Re: Anyone knows how to build and spark on jdk9? It probably depends on the Scala version we use in Spark supporting Java 9 first. On Thu, Oct 26, 2017 at 7:22 PM Zhang, Liyun mailto:liyun.zh...@intel.com>> wrote: Hi all: 1. I want to build spark on jdk9

Re: Anyone knows how to build and spark on jdk9?

2017-10-27 Thread Steve Loughran
On 27 Oct 2017, at 03:21, Zhang, Liyun mailto:liyun.zh...@intel.com>> wrote: Hi all: 1. I want to build spark on jdk9 and test it with Hadoop on jdk9 env. I search for jiras related to JDK9. I only found SPARK-13278. This means now spa

Re: Anyone knows how to build and spark on jdk9?

2017-10-27 Thread Vadim Semenov
If someone else is looking how to try jdk9, you can just pass your own JAVA_HOME environment variables: spark.yarn.appMasterEnv.JAVA_HOME=/usr/lib/jvm/java-1.8.0 spark.executorEnv.JAVA_HOME=/usr/lib/jvm/java-1.8.0 On Fri, Oct 27, 2017 at 5:14 AM, Steve Loughran wrote: > > On 27 Oct 2017, at 0

Re: Anyone knows how to build and spark on jdk9?

2017-10-27 Thread Jörn Franke
Java 9 friendliness, with more to come! > > > Best Regards > Kelly Zhang/Zhang,Liyun > > > > > > From: Reynold Xin [mailto:r...@databricks.com] > Sent: Friday, October 27, 2017 10:26 AM > To: Zhang, Liyun ; dev@spark.apache.org; > u...@spark.

Re: Anyone knows how to build and spark on jdk9?

2017-10-27 Thread Sean Owen
> > > > > *From:* Reynold Xin [mailto:r...@databricks.com ] > *Sent:* Friday, October 27, 2017 10:26 AM > *To:* Zhang, Liyun ; dev@spark.apache.org; > u...@spark.apache.org > *Subject:* Re: Anyone knows how to build and spark on jdk9? > > > > It probably depends on the

Re: Anyone knows how to build and spark on jdk9?

2017-10-30 Thread Steve Loughran
On 27 Oct 2017, at 19:24, Sean Owen mailto:so...@cloudera.com>> wrote: Certainly, Scala 2.12 support precedes Java 9 support. A lot of the work is in place already, and the last issue is dealing with how Scala closures are now implemented quite different with lambdas / invokedynamic. This affe