异常hive连接异常

Posted huomei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了异常hive连接异常相关的知识,希望对你有一定的参考价值。

检查:
1、Linux上
1)Linux防火墙是否关闭了
2)网络是否通,linux和windows是否网通,用 `ping ip`
3)hiveServer2服务是否开启,10000端口。用`netstat -nlp | grep 进程`

2、windows上
1)防火墙
2)网络是否通,linux和windows是否网通,用 `ping ip`
3)访问的ip和端口是否写的正确

如果是Spark项目访问Hive,使用 了enableHiveSupport,可能也会出现类似的异常,因为在Windows上运行本身就有问题,提交到服务器上就没问题了。

以上是关于异常hive连接异常的主要内容,如果未能解决你的问题,请参考以下文章

DataGrip连接Hive异常

OutOfMemory 异常 - HDInsight LLAP 群集中的 Hive 多联接查询

hive metastore Server 出现异常

hive metastore异常 org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin,

25.集群异常故障分析——HOSTS

83.Hive Load本地数据文件异常解决