Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.2.0
-
None
-
None
Description
build with scala-2.12 with following steps
1. change the pom.xml with scala-2.12
./dev/change-scala-version.sh 2.12
2.build with -Pscala-2.12
./dev/make-distribution.sh --tgz -Pscala-2.12 -Phadoop-2.7 -Pyarn -Pparquet-provided -Dhadoop.version=2.7.3
get the error
/common/unsafe/src/main/java/org/apache/spark/unsafe/Platform.java:172: error: cannot find symbol Cleaner cleaner = Cleaner.create(buffer, () -> freeMemory(memory));
This is because sun.misc.Cleaner has been moved to new location in JDK9. HADOOP-12760 will be the long term fix