Hive
一直提示,导致生成 hive.err
文件:
Establishing SSL connection without server is not recommended。According to MySQL 5.5.45+ requirements SSL connection must be established by default if explicit option is not set。For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false' 。You need either to explicitly disable SSL by setting useSSL=false,or set useSSL=true and provide truststore for server certificate verification。
解决方式:
修改 Hive Metastore
文件里的 Database URL
jdbc:mysql://IP/hive?useUnicode=true&characterEncoding=utf8&useSSL=false