1、hive的HiveMetaStore或者HiveServer2服务进程正常,但却不能提供相应服务
原因:堆内存不足
解决方案:在hive-env.sh中调整堆内存大小
2、连接hive metastore 出现 MetaStoreClient lost connection. Attempting to reconnect.
解决方案一:在hive-site.xml中加上 hive.metastore.event.db.notification.api.auth=false
解决方案二:在core-site.xml中加上 hadoop.proxyuser.hive.hosts=HS2_HOST 和 hadoop.proxyuser.hive.groups=*