java.sql.SQLException: Unknown server host name 'name of the Database Server'.

Stack Overflow | Ectoras | 9 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

    Pyspark Jupyter: java.sql.SQLException: Unknown server host name

    Stack Overflow | 9 months ago | Ectoras
    java.sql.SQLException: Unknown server host name 'name of the Database Server'.
  2. 0

    Git transport issues exceptions in the console when used offline

    GitHub | 3 years ago | mquinson
    org.eclipse.jgit.api.errors.TransportException: https://github.com/mquinson/PLM-data.git: cannot open git-receive-pack
  3. 0

    Job "Test Connection" throws false positive

    GitHub | 2 years ago | Brantone
    java.net.UnknownHostException: .slack.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    bnd can no longer build offline

    GitHub | 4 years ago | fhuberts
    java.net.UnknownHostException: github.com
  6. 0

    Spring XD 1.1.0.M2 installed on Hortonworks HDP2.2 - Cant create the twittersearch

    Stack Overflow | 2 years ago
    java.net.UnknownHostException: stream.twitter.com

  1. batwalrus76 10 times, last 7 days ago
  2. Hronom 1 times, last 3 months ago
  3. iferca 257 times, last 4 weeks ago
  4. guizmaii 16 times, last 2 months ago
  5. mauritius 2 times, last 5 months ago
9 more registered users
42 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.net.UnknownHostException

    Name of the server

    at java.net.AbstractPlainSocketImpl.connect()
  2. Java RT
    Socket.connect
    1. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    3. java.net.Socket.connect(Socket.java:579)
    3 frames
  3. jTDS
    Driver.connect
    1. net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:288)
    2. net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:251)
    3. net.sourceforge.jtds.jdbc.JtdsConnection.<init>(JtdsConnection.java:331)
    4. net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
    4 frames
  4. org.apache.spark
    ResolvedDataSource$.apply
    1. org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anonfun$createConnectionFactory$2.apply(JdbcUtils.scala:61)
    2. org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$$anonfun$createConnectionFactory$2.apply(JdbcUtils.scala:52)
    3. org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:120)
    4. org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation.<init>(JDBCRelation.scala:91)
    5. org.apache.spark.sql.execution.datasources.jdbc.DefaultSource.createRelation(DefaultSource.scala:57)
    6. org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:158)
    6 frames
  5. Spark Project SQL
    DataFrameReader.load
    1. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:119)
    1 frame
  6. 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
  7. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
    3. py4j.Gateway.invoke(Gateway.java:259)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:209)
    6 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame