Morio Ramdenbourg created HIVE-21309:
----------------------------------------
Summary: Support for Schema Tool to use HMS TLS to the Database
properties
Key: HIVE-21309
URL: https://issues.apache.org/jira/browse/HIVE-21309
Project: Hive
Issue Type: New Feature
Components: Metastore, Standalone Metastore
Reporter: Morio Ramdenbourg
[HIVE-20992|https://issues.apache.org/jira/browse/HIVE-20992] added properties
to configure TLS to the HMS backend database (_hive.metastore.dbaccess.ssl.*_).
The changes were made in the ObjectStore implementation in
[ObjectStore#configureSSL|https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L349-L380],
and those TLS properties are consumed before establishing a connection to the
database. However, since the Schema Tool doesn't follow this same code path, it
doesn't use any of these TLS properties.
We should add support for the schema tool to read in and use these properties,
so that it can also use TLS encryption to communicate with the HMS database.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)