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(DBInputFormat.java:167) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) at > org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:730)

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

    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. at > org.apache.sqoop.mapreduce.db.DBInputFormat.setConf(DBInputFormat.java:167) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) at > org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:730)

    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(DBInputFormat.java:167) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) at > org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:730)

      at org.apache.hadoop.mapred.MapTask.run()
    2. Hadoop
      Child$4.run
      1. org.apache.hadoop.mapred.MapTask.run(MapTask.java:375)
      2. org.apache.hadoop.mapred.Child$4.run(Child.java:255)
      2 frames
    3. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames