错误信息:“WARN: Establishing SSL connection without server’s identity verification is not recommended.”
解决方案:
1.进入hive/conf/目录下,然后编辑hive-site.xml文件,将连接MySQL的URL地址内容的最后附加上useSSL=false,
注意:因为这个文件是.xml文件,所以一定要使用转义字符,&才代表符号&
2.设置useSSL=true,并为服务器证书验证提供信任库