You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/04/03 03:40:00 UTC

[jira] [Created] (CALCITE-2238) JDK 10 - Pig module test failures

Kevin Risden created CALCITE-2238:
-------------------------------------

             Summary: JDK 10 - Pig module test failures
                 Key: CALCITE-2238
                 URL: https://issues.apache.org/jira/browse/CALCITE-2238
             Project: Calcite
          Issue Type: Bug
          Components: pig-adapter
            Reporter: Kevin Risden
            Assignee: Kevin Risden
             Fix For: 1.17.0


Found while fixing CALCITE-2237, found that the Pig module fails when running under JDK 10.
{noformat}
[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{noformat}
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.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)