com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Method not supported

Stack Overflow | dev ツ | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.sql.SQLException: Method not supported on using HikariCP with Hive JDBC

    Stack Overflow | 6 months ago | dev ツ
    com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Method not supported
  2. 0

    java.sql.SQLException: Method not supported on using HikariCP with Hive JDBC

    GitHub | 6 months ago | devender-yadav
    com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Method not supported

    Root Cause Analysis

    1. java.sql.SQLException

      Method not supported

      at org.apache.hive.jdbc.HiveConnection.setReadOnly()
    2. org.apache.hive
      HiveConnection.setReadOnly
      1. org.apache.hive.jdbc.HiveConnection.setReadOnly(HiveConnection.java:1271)
      1 frame
    3. HikariCP-java6
      HikariDataSource.getConnection
      1. com.zaxxer.hikari.pool.PoolBase.setupConnection(PoolBase.java:372)
      2. com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:346)
      3. com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:508)
      4. com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:107)
      5. com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:94)
      5 frames
    4. com.impetus.idw
      LocalToLocalTest.testHive
      1. com.impetus.idw.data.connector.utils.JDBCUtil.getJdbcConnection(JDBCUtil.java:173)
      2. com.impetus.idw.data.connector.utils.JDBCUtil.checkTableExistence(JDBCUtil.java:66)
      3. com.impetus.idw.data.connector.datasource.HiveTable.exists(HiveTable.java:146)
      4. com.impetus.idw.data.connector.tools.hive.HiveToHiveCopyBaseTest.testMetadata(HiveToHiveCopyBaseTest.java:25)
      5. com.impetus.idw.data.connector.tools.hive.LocalToLocalTest.testHive(LocalToLocalTest.java:19)
      5 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames