Не удалось подключить Hive от Hue - PullRequest
0 голосов
/ 20 марта 2019

У меня есть настройка cloudera, и в ней я включил SSL для улья, а также включил связь TLS / SSL hue с HiveServer2 в файле конфигурации hue.ini.

После внесения изменений пытаюсьзатем подключитесь к Hive from hue, отображается следующая ошибка: « Ошибка сертификата с удаленным хостом: имя хоста« quickstart.cloudera »не совпадает с u'cm01.example.com '».

Конфигурация улья:

<property>
  <name>hive.server2.use.SSL</name>
  <value>true</value>
  <description>enable/disable SSL </description>
</property>

<property>
  <name>hive.server2.keystore.path</name>
  <value>/opt/cloudera/security/jks/cmhost-keystore.jks</value>
  <description>keystore-file-path</description>
</property>

<property>
  <name>hive.server2.keystore.password</name>
  <value>xyz</value>
  <description>keystore password</description>
</property>

Конфигурация оттенка:

# SSL communication enabled for this server.
enabled=true

# Path to Certificate Authority certificates.
cacerts=/etc/hue/cmhost.pem

# Path to the private key file.
## key=/etc/hue/key.pem

# Path to the public certificate file.
## cert=/etc/hue/cert.pem

# Choose whether Hue should validate certificates received from the   server.
validate=true
...