drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Rogers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5091) JDBC unit test fails to set up test storage plugin config on Java 8
Date Fri, 02 Dec 2016 21:31:59 GMT

    [ https://issues.apache.org/jira/browse/DRILL-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15716580#comment-15716580
] 

Paul Rogers commented on DRILL-5091:
------------------------------------

Some tests are failing due to new methods, with default implementations, added to {{DatabaseMetaData}}
in Java 8:

* {{getMaxLogicalLobSize}}
* {{supportsRefCursors}}

These default to doing nothing and so won't throw exceptions on connection closed, etc. These
need to be added to the exception mechanism in the tests.

Same is true for new Java 8 methods in other JDBC classes.

> 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)

Mime
View raw message