com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 28,517 milliseconds ago.  The last packet sent successfully to the server was 7 milliseconds ago.

nabble.com | 4 months ago
  1. 0

    SonarQube Users (archive) - Problems using Sonar, sonar-runner and mysql.

    nabble.com | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 28,517 milliseconds ago.  The last packet sent successfully to the server was 7 milliseconds ago.
  2. 0

    'Re: [sonar-user] Problems using Sonar, sonar-runner and mysql.' - MARC

    marc.info | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago.
  3. 0

    We need to at least understand what is happening with this one. Often, the explore container cannot connect to hive metastore, with an exception: {code} 2015-09-14 19:29:56,975 - ERROR [ExploreExecutorService STARTING:c.c.c.c.t.AbstractMasterTwillRunnable$1@142] - Service co.cask.cdap.explore.executor.ExploreExecutorService failed com.google.common.util.concurrent.UncheckedExecutionException: org.apache.hive.service.ServiceException: Unable to connect to MetaStore! at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1015) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1001) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:220) ~[com.google.guava.guava-13.0.1.jar:na] at com.google.common.util.concurrent.AbstractIdleService.startAndWait(AbstractIdleService.java:106) ~[com.google.guava.guava-13.0.1.jar:na] at co.cask.cdap.explore.executor.ExploreExecutorService.startUp(ExploreExecutorService.java:91) ~[co.cask.cdap.cdap-explore-3.2.0-SNAPSHOT.jar:na] at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) ~[com.google.guava.guava-13.0.1.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] Caused by: org.apache.hive.service.ServiceException: Unable to connect to MetaStore! at org.apache.hive.service.cli.CLIService.start(CLIService.java:137) ~[hive-service-0.13.1-cdh5.2.6.jar-1442258942337.jar:0.13.1-cdh5.2.6] at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:277) ~[co.cask.cdap.cdap-explore-3.2.0-SNAPSHOT.jar:na] ... 2 common frames omitted Caused by: org.apache.hadoop.hive.metastore.api.MetaException: Got exception: org.apache.hadoop.hive.metastore.api.MetaException javax.jdo.JDODataStoreException: Communications link failure The last packet successfully received from the server was 795,311 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago. NestedThrowables: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 795,311 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago. at org.apache.hadoop.hive.metastore.MetaStoreUtils.logAndThrowMetaException(MetaStoreUtils.java:1116) ~[hive-metastore-0.13.1-cdh5.2.6.jar:0.13.1-cdh5.2.6] at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getDatabases(HiveMetaStoreClient.java:839) ~[hive-metastore-0.13.1-cdh5.2.6.jar:0.13.1-cdh5.2.6] at org.apache.hive.service.cli.CLIService.start(CLIService.java:135) ~[hive-service-0.13.1-cdh5.2.6.jar-1442258942337.jar:0.13.1-cdh5.2.6] ... 3 common frames omitted {code} This is currently happening with the latest develop branch, against hive 0.12-0.13 (CDH 5.1-5.3), and also on our internal prod cluster. Hive metastore is configured with the following workaround from HIVE-7290: {code} <property> <name>datanucleus.connectionPoolingType</name> <value>DBCP</value> </property> {code} The hive metastore log often shows exceptions, but appears to work fine when using the hive shell. metastore logs from cdh5.1, cdh5.2 attached.

    Cask Community Issue Tracker | 1 year ago | Derek Wood
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 795,311 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate Community • View topic - Communication Link Failure

    hibernate.org | 1 year ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 3,972,404 milliseconds ago. The last packet sent successfully to the server was 18,973 milliseconds ago.
  6. 0

    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

    Oracle Community | 7 years ago | snidely_whiplash
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 28,890,943 milliseconds ago. The last packet sent successfully to the server was 3 milliseconds ago.

    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. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

      Communications link failure The last packet successfully received from the server was 28,517 milliseconds ago.  The last packet sent successfully to the server was 7 milliseconds ago.

      at org.sonar.runner.Runner.delegateExecution()
    2. org.sonar.runner
      Main.main
      1. org.sonar.runner.Runner.delegateExecution(Runner.java:210)
      2. org.sonar.runner.Runner.execute(Runner.java:84)
      3. org.sonar.runner.Main.main(Main.java:67)
      3 frames