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

hadoop-hdfs-user | Divya Gehlot | 11 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

    [Error:] When writing To Phoenix 4.4

    hadoop-hdfs-user | 11 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

    Hive giving error upon initialization

    Stack Overflow | 1 year ago | nishi jain
    java.sql.SQLException: No suitable driver found for jdbc:derby://localhost:1527/metastore_db;create=true
  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

    - IncompatibleClassChangeError[Implementing class]

    GitHub | 2 years ago | eyjolfur12
    java.sql.SQLException: No suitable driver found for jdbc:mysql://[myhost]:3306/products_fr

  1. DoktorDoener666 1 times, last 2 months ago
  2. jpvee 5 times, last 3 months ago
  3. andyglick 1 times, last 3 months ago
  4. jshakil 1 times, last 5 months ago
  5. linxiaolong 8576 times, last 2 weeks ago
2 more registered users
51 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