ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bing Li" <smallpu...@aliyun.com>
Subject Re: Review Request 41191: AMBARI-14317: Hive service check with Beeline should not pass in ssl settings if SSL is disabled
Date Mon, 14 Dec 2015 07:13:21 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41191/
-----------------------------------------------------------

(Updated Dec. 14, 2015, 7:13 a.m.)


Review request for Ambari and Yusaku Sako.


Bugs: AMBARI-14317
    https://issues.apache.org/jira/browse/AMBARI-14317


Repository: ambari


Description
-------

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.


Diffs (updated)
-----

  ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py 55fd6bd


Diff: https://reviews.apache.org/r/41191/diff/


Testing
-------

I have verified it in my local cluster.


Thanks,

Bing Li


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message