mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
external data source In the current implementation of external JDBC data source, the user has to provide both the username and password in plain text which is not a good practice. This patch extends the functionality of existing implementation to either provide: a) username and password b) username or key and keystore If the user provides the password, then that password is used. However, if no password is provided and the user provides only the key/keystore, then it fetches the password from the secure jceks keystore. Testing: - Added unit test TestExtDataSourcesWithKeyStore Change-Id: Iec83a9b6e00456f0a1bbee747bd752b2cf9bf238 Reviewed-on: http://gerrit.cloudera.org:8080/20809 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>