Details

      Description

      Cannot connect to drill cluster after upgrade to new Jar drill-jdbc-all-1.11.0.jar. When replacing Jar file with older release drill-jdbc-all-1.10.0.jar, connection works again. Tested with various client applications:

      java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class ${package.namespace.prefix}org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not found
              at oadd.org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2227)
              at oadd.org.apache.hadoop.security.Groups.<init>(Groups.java:80)
              at oadd.org.apache.hadoop.security.Groups.<init>(Groups.java:74)
              at oadd.org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:303)
              at oadd.org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:283)
              at oadd.org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:311)
              at oadd.org.apache.drill.exec.rpc.security.plain.PlainFactory.createAndLoginUser(PlainFactory.java:63)
              at oadd.org.apache.drill.exec.rpc.user.UserClient.authenticate(UserClient.java:244)
              at oadd.org.apache.drill.exec.rpc.user.UserClient.connect(UserClient.java:171)
              at oadd.org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:432)
              at oadd.org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:379)
              at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:158)
              at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:72)
              at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
              at oadd.org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:143)
              at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
              at java.sql.DriverManager.getConnection(DriverManager.java:664)
              at java.sql.DriverManager.getConnection(DriverManager.java:208)
      

      Workaround is using the old driver version.

        Attachments

        1. drill-jdbc-all-1.12.0-SNAPSHOT.jar
          26.48 MB
          Vitalii Diravka
        2. nifi_logs.txt
          8 kB
          Tomasz Marynowski
        3. drill-jdbc-all-1.13.0.jar
          33.12 MB
          Tomasz Marynowski

          Issue Links

            Activity

              People

              • Assignee:
                vitalii Vitalii Diravka
                Reporter:
                korlawulki Holger Kiel
                Reviewer:
                Parth Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: