java.sql.SQLException: Method not supported

Stack Overflow | ozw1z5rd | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Nifi putSQL processor raises exception on HIVE on simple insert

    Stack Overflow | 4 months ago | ozw1z5rd
    java.sql.SQLException: Method not supported

    Root Cause Analysis

    1. java.sql.SQLException

      Method not supported

      at org.apache.hive.jdbc.HiveConnection.commit()
    2. org.apache.hive
      HiveConnection.commit
      1. org.apache.hive.jdbc.HiveConnection.commit(HiveConnection.java:614)[na:na]
      1 frame
    3. Commons DBCP
      PoolingDataSource$PoolGuardConnectionWrapper.commit
      1. org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:334)[na:na]
      2. org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.commit(PoolingDataSource.java:211)[na:na]
      2 frames
    4. org.apache.nifi
      TimerDrivenSchedulingAgent$1.run
      1. org.apache.nifi.processors.standard.PutSQL.onTrigger(PutSQL.java:371)[nifi-standard-processors-1.0.0.jar:1.0.0]
      2. org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)[nifi-api-1.0.0.jar:1.0.0]
      3. org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1064)[nifi-framework-core-1.0.0.jar:1.0.0]
      4. org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136)[nifi-framework-core-1.0.0.jar:1.0.0]
      5. org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)[nifi-framework-core-1.0.0.jar:1.0.0]
      6. org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132)[nifi-framework-core-1.0.0.jar:1.0.0]
      6 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_101]
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[na:1.8.0_101]
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[na:1.8.0_101]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_101]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[na:1.8.0_101]
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_101]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_101]
      8. java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]
      8 frames