分享

HiveServer2 The last packet sent successfully to the server was 0 millisecond...

arsenduan 发表于 2015-9-17 10:17:03 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 14144
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 148,393 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.

HiveServer2 报这个错误  有人碰到过吗

已有(1)人评论

跳转到指定楼层
bioger_hit 发表于 2015-9-17 10:17:28
一是修改mysql链接的超时时间
二是修改jdbc链接时候加入参数autoReconect=true参数

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条