Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Found while fixing CALCITE-2237 that the Pig module fails when running under JDK 10.
[ERROR] Errors: [ERROR] org.apache.calcite.test.PigRelBuilderStyleTest.testImplWithCountWithoutGroupBy(org.apache.calcite.test.PigRelBuilderStyleTest) [ERROR] Run 1: PigRelBuilderStyleTest.setupDataFilesForPigServer:287 » NoClassDefFound Could ... [ERROR] Run 2: PigRelBuilderStyleTest.shutdownPigServer:280 NullPointer [INFO] [ERROR] org.apache.calcite.test.PigRelBuilderStyleTest.testImplWithGroupByCountDistinct(org.apache.calcite.test.PigRelBuilderStyleTest) [ERROR] Run 1: PigRelBuilderStyleTest.setupDataFilesForPigServer:287 » NoClassDefFound Could ... [ERROR] Run 2: PigRelBuilderStyleTest.shutdownPigServer:280 NullPointer [INFO] [ERROR] org.apache.calcite.test.PigRelBuilderStyleTest.testImplWithJoin(org.apache.calcite.test.PigRelBuilderStyleTest) [ERROR] Run 1: PigRelBuilderStyleTest.setupDataFilesForPigServer:287 » ExceptionInInitializer [ERROR] Run 2: PigRelBuilderStyleTest.shutdownPigServer:280 NullPointer [INFO] [ERROR] org.apache.calcite.test.PigRelBuilderStyleTest.testScanAndFilter(org.apache.calcite.test.PigRelBuilderStyleTest) [ERROR] Run 1: PigRelBuilderStyleTest.setupDataFilesForPigServer:287 » NoClassDefFound Could ... [ERROR] Run 2: PigRelBuilderStyleTest.shutdownPigServer:280 NullPointer
There shouldn't be a NPE or NoClassDefFound. I haven't looked into the cause but this doesn't seem to happen on JDK 9.
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
- is related to
-
CALCITE-2239 JDK 10 - Spark module test failures
- Closed
- relates to
-
CALCITE-2063 Add JDK 10 to CI
- Closed