java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc:phoenix:localhost:2181:/hbase-unsecure;

hadoop-hdfs-user | Divya Gehlot | 8 months ago
  1. 0

    [Error:] When writing To Phoenix 4.4

    hadoop-hdfs-user | 8 months ago | Divya Gehlot
    java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc:phoenix:localhost:2181:/hbase-unsecure;
  2. 0

    How do i connect to a postrgresql database instance using Amazon Web Services in java code?

    Stack Overflow | 3 years ago | BruceWayne
    java.sql.SQLException: No suitable driver found for jdbc:postgresql://batcomputer.cu2oezud659w.us-west-2.rds.amazonaws.com:5432
  3. 0

    PostgreSQL driver for redshiftmanifest sample

    GitHub | 3 years ago | harlow
    java.lang.IllegalStateException: Could not create Redshift file table kinesisFiles
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HIVE2 Possible? I met "No suitable driver found"

    GitHub | 2 years ago | ujlim
    java.sql.SQLException: No suitable driver found for jdbc:hive2://sbpr01eg01.sbp.com:10000/default?hive.server2.transport.mode=binary;hive.server2.thrift.http.path=cliservice
  6. 0

    "No suitable driver found" when using starschema-bigquery-jdbc driver

    GitHub | 2 years ago | sammerry
    java.sql.SQLException: No suitable driver found for jdbc:BQDriver:my-logs?withServiceAccount=true

  1. jshakil 1 times, last 1 month ago
  2. linxiaolong 7101 times, last 1 month ago
  3. ruifung 1 times, last 3 months ago
  4. linxiaolong 838 times, last 3 months ago
  5. Juraji 1 times, last 9 months ago
49 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    No suitable driver found for jdbc:phoenix:localhost:2181:/hbase-unsecure;

    at java.sql.DriverManager.getConnection()
  2. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:596)
    2. java.sql.DriverManager.getConnection(DriverManager.java:187)
    2 frames
  3. org.apache.phoenix
    ConnectionUtil.getOutputConnection
    1. org.apache.phoenix.mapreduce.util.ConnectionUtil.getConnection(ConnectionUtil.java:99)
    2. org.apache.phoenix.mapreduce.util.ConnectionUtil.getOutputConnection(ConnectionUtil.java:82)
    3. org.apache.phoenix.mapreduce.util.ConnectionUtil.getOutputConnection(ConnectionUtil.java:70)
    3 frames
  4. Phoenix Core
    PhoenixOutputFormat.getRecordWriter
    1. org.apache.phoenix.mapreduce.PhoenixRecordWriter.<init>(PhoenixRecordWriter.java:49)
    2. org.apache.phoenix.mapreduce.PhoenixOutputFormat.getRecordWriter(PhoenixOutputFormat.java:55)
    2 frames
  5. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1030)
    2. org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1014)
    3. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
    4. org.apache.spark.scheduler.Task.run(Task.scala:88)
    5. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
    5 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames