You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/05 21:00:05 UTC

[jira] [Commented] (DRILL-5568) Include hadoop-common jars inside drill-jdbc-all.jar

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

ASF GitHub Bot commented on DRILL-5568:
---------------------------------------

GitHub user sohami opened a pull request:

    https://github.com/apache/drill/pull/849

    DRILL-5568: Include hadoop-common jars inside drill-jdbc-all.jar

    More details on this PR is in [JIRA](https://issues.apache.org/jira/browse/DRILL-5568)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sohami/drill DRILL-5568

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/849.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #849
    
----
commit e84ce5bb6317e7a8caa50c7ffc85dfc416616596
Author: Sorabh Hamirwasia <sh...@maprtech.com>
Date:   2017-06-05T20:45:27Z

    DRILL-5568: Include hadoop-common jars inside drill-jdbc-all.jar

----


> Include hadoop-common jars inside drill-jdbc-all.jar
> ----------------------------------------------------
>
>                 Key: DRILL-5568
>                 URL: https://issues.apache.org/jira/browse/DRILL-5568
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Sorabh Hamirwasia
>            Assignee: Sorabh Hamirwasia
>
> With Sasl support in 1.10 the authentication using username/password was moved to Plain Mechanism of Sasl Framework. There are couple of Hadoop classes like Configuration.java and UserGroupInformation.java defined in hadoop-common package which were used in DrillClient for security mechanisms like Plain/Kerberos mechanisms. Due to this we need to add hadoop dependency inside _drill-jdbc-all.jar_  Without it the application using this driver will fail to connect to Drill with authentication enabled.
> Today this jar (which is JDBC driver for Drill) already has lots of other dependencies which DrillClient relies on like Netty, etc. But the way we add these dependencies are under *oadd* namespace so that the application using this driver won't end up in conflict with it's own version of same dependencies. As part of this JIRA it will include hadoop-common dependencies under same namespace. This will allow an application to connect to Drill using this driver with security enabled. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)