java.sql.SQLException: Username property (user) must be set

GitHub | ernestrc | 1 year 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

    Support username passed as a parameter in URI

    GitHub | 1 year ago | ernestrc
    java.sql.SQLException: Username property (user) must be set

    Root Cause Analysis

    1. java.sql.SQLException

      Username property (user) must be set

      at com.facebook.presto.jdbc.PrestoDriver.connect()
    2. presto-jdbc
      PrestoDriver.connect
      1. com.facebook.presto.jdbc.PrestoDriver.connect(PrestoDriver.java:86)
      1 frame
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:664)
      2. java.sql.DriverManager.getConnection(DriverManager.java:270)
      2 frames
    4. build.unstable.sonic
      JdbcPublisher$$anonfun$receive$1.applyOrElse
      1. build.unstable.sonic.source.JdbcPublisher$$anonfun$receive$1.applyOrElse(JdbcSource.scala:129)
      1 frame
    5. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:480)
      1 frame
    6. build.unstable.sonic
      JdbcPublisher.akka$stream$actor$ActorPublisher$$super$aroundReceive
      1. build.unstable.sonic.source.JdbcPublisher.akka$stream$actor$ActorPublisher$$super$aroundReceive(JdbcSource.scala:33)
      1 frame
    7. akka.stream.actor
      ActorPublisher$class.aroundReceive
      1. akka.stream.actor.ActorPublisher$class.aroundReceive(ActorPublisher.scala:270)
      1 frame
    8. build.unstable.sonic
      JdbcPublisher.aroundReceive
      1. build.unstable.sonic.source.JdbcPublisher.aroundReceive(JdbcSource.scala:33)
      1 frame
    9. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    10. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames