drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4880) Support JDBC driver registration using ServiceLoader
Date Tue, 01 Nov 2016 23:35:00 GMT

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

Chun Chang commented on DRILL-4880:
-----------------------------------

[root@atsqa6c58 services]# pwd
/root/drill-4880/dist/jars/jdbc-driver/META-INF/services
[root@atsqa6c58 services]# cat java.sql.Driver
org.apache.drill.jdbc.Driver

> Support JDBC driver registration using ServiceLoader 
> -----------------------------------------------------
>
>                 Key: DRILL-4880
>                 URL: https://issues.apache.org/jira/browse/DRILL-4880
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>    Affects Versions: 1.8.0
>         Environment: Windows Server 2012
>            Reporter: Sudip Mukherjee
>            Assignee: Laurent Goujon
>             Fix For: 1.9.0
>
>
> Currently drill-jdbc-all*.jar doesn't contain a META_INF/services/java.sql.Driver file
which is apparently used to discover a service by Java ServiceLoader API.
> Can drill jdbc driver have this file like all the other jdbc drivers so that the driver
can be loaded using ServiceLoader instead of a direct Class.forName?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message