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 | Jarek Jarcec Cecho | 4 years 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

    Re: Installing sqoop on Amazon EMR

    sqoop-user | 4 years ago | Jarek Jarcec Cecho
    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

    Re: Installing sqoop on Amazon EMR

    sqoop-user | 4 years ago | Ibrahim Yakti
    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.

    Root Cause Analysis

    1. 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.

      at org.apache.sqoop.mapreduce.db.DBInputFormat.setConf()
    2. org.apache.sqoop
      DBInputFormat.setConf
      1. org.apache.sqoop.mapreduce.db.DBInputFormat.setConf(DBInputFormat.java:167)
      1 frame
    3. Hadoop
      ReflectionUtils.newInstance
      1. org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
      2. org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
      2 frames
    4. Hadoop
      Child$4.run
      1. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:730)
      2. org.apache.hadoop.mapred.MapTask.run(MapTask.java:375)
      3. org.apache.hadoop.mapred.Child$4.run(Child.java:255)
      3 frames
    5. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames
    6. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1132)
      1 frame
    7. Hadoop
      Child.main
      1. org.apache.hadoop.mapred.Child.main(Child.java:249)
      1 frame