Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5568

Include hadoop-common jars inside drill-jdbc-all.jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Client - JDBC

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              shamirwasia Sorabh Hamirwasia
              shamirwasia Sorabh Hamirwasia
              Paul Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: