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

Reply via email to