You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Bing Li (JIRA)" <ji...@apache.org> on 2015/12/10 07:08:10 UTC

[jira] [Commented] (AMBARI-14317) Hive service check with Beeline should not pass in ssl settings if SSL is disabled

    [ https://issues.apache.org/jira/browse/AMBARI-14317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15050140#comment-15050140 ] 

Bing Li commented on AMBARI-14317:
----------------------------------

The root cause is that the following lines in ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py

 if isinstance(ssl, str):
    ssl = bool(ssl)

The output of bool(ssl) is always "True".



> Hive service check with Beeline should not pass in ssl settings if SSL is disabled
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-14317
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14317
>             Project: Ambari
>          Issue Type: Bug
>          Components: alerts
>    Affects Versions: 2.1.1, 2.2.0
>            Reporter: Bing Li
>            Priority: Critical
>
> In Services -> Hive -> Configs,
> 1. disable SSL
> 2. add the properties for ssl keystore in hive-site.xml
> hive.server2.keystore.path
> hive.server2.keystore.password
> 3. save the configuration, and restart hive services
> Then I can get an alert from HiveServer2, go to the details I found that
> the beeline tried to connect HS2 with "ssl=true;sslTrustStore=/path/trust_store.jks;trustStorePassword=xyz", which is NOT correct.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)