hadoop - 配置单元中的 SSL 警告

标签 hadoop hive

当我尝试运行配置单元命令时,我收到以下警告以及输出。

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements 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-site.xml jdbc url 编辑为

<value>jdbc:mysql://localhost/metastore?createDatabaseIfNotExist=true?useSSL=false</value>

但我仍然收到此警告。 禁用 ssl 的正确语法是什么? 提前致谢!!!

最佳答案

试试这个

<value>jdbc:mysql://localhost/metastore?createDatabaseIfNotExist=true&amp;useSSL=false</value>

关于hadoop - 配置单元中的 SSL 警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51564627/

相关文章:

hadoop - 将文件添加到 Hadoop 分布式缓存

java - Hadoop 单节点与多节点

hadoop - 如何在hive中的select语句中写子查询

java - 无法从 Web 应用程序通过 JDBC 连接到 HIVE

hive - 从 hive 表读取并更新 pyspark 中的同一表 - 使用检查点

python - 显示 Hive 查询的进度

hadoop - 我的hadoop体系结构的改进建议

hadoop - Hadoop处理bz2上的Wikipedia转储文件时内存不足

indexing - hive中分区和索引的区别

hadoop - 配置单元限制查询外部表时扫描通过的文件列表