spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From N.Venkata Naga Ravi <nvn_r...@hotmail.com>
Subject Apache Spark is not building in Mac/Java 8
Date Fri, 02 May 2014 10:26:27 GMT




Hi,


I am tyring to build Apache Spark with Java 8 in my Mac system ( OS X 10.8.5) , but getting
following exception.
Please help on resolving it.


dhcp-173-39-68-28:spark-0.9.1 neravi$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
dhcp-173-39-68-28:spark-0.9.1 neravi$ ./sbt/sbt assembly
Launching sbt from sbt/sbt-launch-0.12.4.jar
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed
in 8.0
[info] Loading project definition from /Applications/spark-0.9.1/project/project
[info] Compiling 1 Scala source to /Applications/spark-0.9.1/project/project/target/scala-2.9.2/sbt-0.12/classes...
[error] error while loading CharSequence, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/lang/CharSequence.class)'
is broken
[error] (bad constant pool tag 18 at byte 10)
[error] error while loading Comparator, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/util/Comparator.class)'
is broken
[error] (bad constant pool tag 18 at byte 20)
[error] two errors found
[error] (compile:compile) Compilation failed
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? r
[info] Loading project definition from /Applications/spark-0.9.1/project/project
[info] Compiling 1 Scala source to /Applications/spark-0.9.1/project/project/target/scala-2.9.2/sbt-0.12/classes...
[error] error while loading CharSequence, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/lang/CharSequence.class)'
is broken
[error] (bad constant pool tag 18 at byte 10)
[error] error while loading Comparator, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/util/Comparator.class)'
is broken
[error] (bad constant pool tag 18 at byte 20)
[error] two errors found
[error] (compile:compile) Compilation failed
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q


Thanks,
Ravi
 		 	   		   		 	   		  
Mime
View raw message