You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2016/12/02 00:55:58 UTC
[jira] [Commented] (DRILL-5091) JDBC unit test fails to set up test
storage plugin config on Java 8
[ https://issues.apache.org/jira/browse/DRILL-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15713589#comment-15713589 ]
Paul Rogers commented on DRILL-5091:
------------------------------------
The dfs_test storage plugin is defined in {{exec/java-exec/src/test/resources/bootstrap-storage-plugins.json}}. Since this is a test resource, it will not be visible to a Maven test in a different sub-project. Yet, the JDBC production code (used in a test), tries to access this resource.
Not sure why this worked under Java 7, but it seems to be an issue.
> JDBC unit test fails to set up test storage plugin config on Java 8
> -------------------------------------------------------------------
>
> Key: DRILL-5091
> URL: https://issues.apache.org/jira/browse/DRILL-5091
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.8.0
> Environment: Java 8
> Reporter: Paul Rogers
>
> Run the {{TestJDBCQuery}} unit tests. They will fail with errors relating to the default name space.
> The problem is due to a failure (that is ignored, DRILL-5090) to set up the test DFS name space.
> The "dfs_test" storage plugin is not found in the plugin registry, resulting in a null object and NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)