启动配置单元时,我得到ssl错误它的工作,但我不能执行扣,直到我解决错误

jmp7cifd  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(376)

错误如下:

Tue Sep 12 03:21:00 IST 2017 WARN: 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.

我怎么解决这个问题。有什么想法吗

guicsvcw

guicsvcw1#

这是ssl警告,可以通过在hive-site.xml中的jdbc连接字符串中放入“?usessl=false”来修复。
ie公司

<property>

  <name>javax.jdo.option.ConnectionURL</name>

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

  <description>metadata is stored in a MySQL server</description>

相关问题