com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

sqoop-user | prabhu k | 4 years ago
  1. 0

    Exception with sqoop, com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

    Stack Overflow | 2 years ago | vikram singh chandel
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 ms ago.
  2. 0

    How to export HDFS data into mysql?

    Stack Overflow | 1 year ago | Vamshi Krishna Gaddam
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  3. 0

    Sqoop list-databases requires --connection-manager

    Stack Overflow | 4 months ago | menorah84
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue - Importing data from mysql to HDFS

    Stack Overflow | 1 year ago | Kite Flyer
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  6. 0

    sqoop importing mysql issue

    Stack Overflow | 3 years ago | arpho
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

  1. linxiaolong 18 times, last 3 weeks ago
  2. linxiaolong 5 times, last 3 months ago
  3. Kialandei 1 times, last 1 month ago
  4. DoktorDoener666 41 times, last 2 weeks ago
  5. kjhdofjosvs 2 times, last 1 month ago
22 more registered users
65 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.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    8. java.net.Socket.<init>(Socket.java:375)
    9. java.net.Socket.<init>(Socket.java:218)
    9 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:298)
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2391)
    4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2428)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2213)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:797)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:389)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:582)
    2. java.sql.DriverManager.getConnection(DriverManager.java:185)
    2 frames
  7. org.apache.sqoop
    Sqoop.run
    1. org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:686)
    2. org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
    3. org.apache.sqoop.manager.CatalogQueryManager.getColumnNames(CatalogQueryManager.java:146)
    4. org.apache.sqoop.orm.ClassWriter.getColumnNames(ClassWriter.java:1207)
    5. org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1062)
    6. org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:82)
    7. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:367)
    8. org.apache.sqoop.tool.ImportTool.run(ImportTool.java:453)
    9. org.apache.sqoop.Sqoop.run(Sqoop.java:145)
    9 frames
  8. Hadoop
    ToolRunner.run
    1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    1 frame
  9. org.apache.sqoop
    Sqoop.main
    1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
    2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
    3. org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
    4. org.apache.sqoop.Sqoop.main(Sqoop.java:238)
    4 frames
  10. com.cloudera.sqoop
    Sqoop.main
    1. com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)
    1 frame