Kevin Risden created CALCITE-2239: ------------------------------------- Summary: JDK 10 - Spark module test failures Key: CALCITE-2239 URL: https://issues.apache.org/jira/browse/CALCITE-2239 Project: Calcite Issue Type: Bug Components: spark Reporter: Kevin Risden Assignee: Kevin Risden
Under JDK 10, the Spark modules seem to fail with the following: {noformat} Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.util.StringUtils at org.apache.calcite.test.SparkAdapterTest.testJoinProjectAliasProject(SparkAdapterTest.java:412){noformat} The failures are: {noformat} [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{noformat} *Environment Details* {noformat} 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){noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)