Description
Under JDK 10, the Spark modules seem to fail with the following:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.util.StringUtils at org.apache.calcite.test.SparkAdapterTest.testJoinProjectAliasProject(SparkAdapterTest.java:412)
The failures are:
[INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] SparkAdapterTest.testAggFuncNoGroupBy:142 » Runtime exception while executing ... [ERROR] SparkAdapterTest.testArithmeticDiv:697 » Runtime exception while executing [se... [ERROR] SparkAdapterTest.testArithmeticMinus:666 » Runtime exception while executing [... [ERROR] SparkAdapterTest.testArithmeticMul:681 » Runtime exception while executing [se... [ERROR] SparkAdapterTest.testArithmeticPlus:651 » Runtime exception while executing [s... [ERROR] SparkAdapterTest.testFilterBetween:483 » Runtime exception while executing [se... [ERROR] SparkAdapterTest.testFilterFalse:532 » Runtime exception while executing [sele... [ERROR] SparkAdapterTest.testFilterIsIn:499 » Runtime exception while executing [selec... [ERROR] SparkAdapterTest.testFilterIsNotNull:569 » Runtime exception while executing [... [ERROR] SparkAdapterTest.testFilterIsNull:584 » Runtime exception while executing [sel... [ERROR] SparkAdapterTest.testFilterOr:551 » Runtime exception while executing [select ... [ERROR] SparkAdapterTest.testFilterTrue:517 » Runtime exception while executing [selec... [ERROR] SparkAdapterTest.testGroupBy:124 » Runtime exception while executing [select s... [ERROR] SparkAdapterTest.testGroupByHaving:218 » Runtime exception while executing [se... [ERROR] SparkAdapterTest.testGroupByMiMaxCountCountDistinctOrderByDesc:201 » Runtime e... [ERROR] SparkAdapterTest.testGroupByMinMaxCountCountDistinctOrderByAsc:179 » Runtime e... [ERROR] SparkAdapterTest.testGroupByOrderByAsc:157 » Runtime exception while executing... [ERROR] SparkAdapterTest.testIntersect:284 » Runtime exception while executing [select... [ERROR] SparkAdapterTest.testJoinProject:389 » Runtime exception while executing [sele... [ERROR] SparkAdapterTest.testJoinProjectAliasProject:412 » Runtime exception while exe... [ERROR] SparkAdapterTest.testLimit:431 » Runtime exception while executing [select * f... [ERROR] SparkAdapterTest.testOrderByLimit:447 » Runtime exception while executing [sel... [ERROR] SparkAdapterTest.testOrderByOffset:465 » Runtime exception while executing [se... [ERROR] SparkAdapterTest.testSelectDistinct:102 » Runtime exception while executing [s... [ERROR] SparkAdapterTest.testSortXAscProjectY:306 » Runtime exception while executing ... [ERROR] SparkAdapterTest.testSortXAscYDescProjectY:366 » Runtime exception while execu... [ERROR] SparkAdapterTest.testSortXDescYAscProjectY:346 » Runtime exception while execu... [ERROR] SparkAdapterTest.testSortXDescYDescProjectY:326 » Runtime exception while exec... [ERROR] SparkAdapterTest.testUnion:265 » Runtime exception while executing [select * f... [ERROR] SparkAdapterTest.testUnionAll:244 » Runtime exception while executing [select ... [ERROR] SparkAdapterTest.testUnionWithFilters:611 » Runtime exception while executing ... [ERROR] SparkAdapterTest.testUnionWithFiltersProject:633 » Runtime exception while exe... [ERROR] SparkAdapterTest.testValues:69 » Runtime exception while executing [select * f... [ERROR] SparkAdapterTest.testValuesFilter:85 » Runtime exception while executing [sele... [INFO] [ERROR] Tests run: 38, Failures: 0, Errors: 34, Skipped: 4
Environment Details
mvn --version Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T13:49:05-06:00) Maven home: /usr/local/Cellar/maven/3.5.3/libexec Java version: 10, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.4", arch: "x86_64", family: "mac" java -version java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+46) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
Attachments
Issue Links
- relates to
-
CALCITE-2063 Add JDK 10 to CI
- Closed
-
CALCITE-2238 JDK 10 - Pig module test failures
- Closed