Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hortonworks.com by Unknown author, 1 year ago
Task: attempt_1466646282939_0010_m_000002_0 - exited : java.lang.RuntimeException: java.lang.RuntimeException: 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.
org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1466646282939_0010_m_000002_0 - exited : java.lang.RuntimeException: java.lang.RuntimeException: 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:76)	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:136)	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:749)	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:422)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1709)	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)