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 | wan razali | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    sqoop import : communication links failure

    apache.org | 1 year ago
    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.
  2. 0

    sqoop import : communication links failure

    sqoop-user | 3 years ago | wan razali
    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

    Issue - Importing data from mysql to HDFS

    Stack Overflow | 2 years 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 0

    hadoop - sqoop importing mysql issue - Stack Overflow

    dluat.com | 2 years ago
    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. michallos 1 times, last 5 months ago
  2. linxiaolong 18 times, last 6 months ago
  3. osvzs 2 times, last 2 weeks ago
  4. Casper 1 times, last 2 weeks ago
  5. QrCeric 1 times, last 3 weeks ago
29 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 timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    7. java.net.Socket.connect(Socket.java:528)
    8. java.net.Socket.<init>(Socket.java:425)
    9. java.net.Socket.<init>(Socket.java:241)
    9 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:259)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:307)
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2482)
    4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2519)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:571)
    2. java.sql.DriverManager.getConnection(DriverManager.java:215)
    2 frames
  7. org.apache.sqoop
    Sqoop.run
    1. org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:801)
    2. org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
    3. org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:660)
    4. org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:683)
    5. org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(SqlManager.java:240)
    6. org.apache.sqoop.manager.SqlManager.getColumnTypes(SqlManager.java:223)
    7. org.apache.sqoop.manager.ConnManager.getColumnTypes(ConnManager.java:347)
    8. org.apache.sqoop.orm.ClassWriter.getColumnTypes(ClassWriter.java:1277)
    9. org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1089)
    10. org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:96)
    11. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:396)
    12. org.apache.sqoop.tool.ImportTool.run(ImportTool.java:502)
    13. org.apache.sqoop.Sqoop.run(Sqoop.java:145)
    13 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