gpt4 book ai didi

hadoop - 配置单元中的 SSL 警告

转载 作者:行者123 更新时间:2023-12-02 19:44:16 25 4
gpt4 key购买 nike

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

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com