問題信息如下:
rements SSL connection must be established by default if explicit option isn't 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鏈接mysql報出來的問題,解決辦法在上述的信息中也提供了,
修改hive的配置文件hive-site.xml
jdbc:mysql://master:3306/hivedb?createDatabaseIfNotExist=true 修改成如下: jdbc:mysql://master:3306/hivedb?useSSL=falsecreateDatabaseIfNotExist=true
?