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

Creation of jdbc storage plugin fails with NoSuchMethod

    XMLWordPrintableJSON

    Details

      Description

      Creation of jdbc-storage-plugin falis with:
      Caused by: java.lang.NoSuchMethodError: org.apache.commons.pool2.impl.GenericObjectPool.setTestOnCreate(Z)V
      at org.apache.commons.dbcp2.BasicDataSource.createConnectionPool(BasicDataSource.java:2224) ~[commons-dbcp2-2.4.0.jar:2.4.0]
      at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2085) ~[commons-dbcp2-2.4.0.jar:2.4.0]
      at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1525) ~[commons-dbcp2-2.4.0.jar:2.4.0]
      at org.apache.calcite.adapter.jdbc.JdbcUtils$DialectPool.get(JdbcUtils.java:78) ~[calcite-core-1.17.0-drill-r0.jar:1.17.0-drill-r0]
      at org.apache.calcite.adapter.jdbc.JdbcSchema.createDialect(JdbcSchema.java:184) ~[calcite-core-1.17.0-drill-r0.jar:1.17.0-drill-r0]
      at org.apache.drill.exec.store.jdbc.JdbcStoragePlugin.<init>(JdbcStoragePlugin.java:101) ~[drill-jdbc-storage-1.15.0-SNAPSHOT.jar:1.15.0-SNAPSHOT]

      Reason:
      bundled dependency commons-pool2:2.1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                le.louch Oleg Zinoviev
                Reporter:
                le.louch Oleg Zinoviev
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: