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

Alessandro Solimando commented on HIVE-25929:
---------------------------------------------

I agree that any form of double negation should be avoided, so a "direct" 
property name like "hive.conf.propagate.exec.engines" sounds way better.

Regarding the default value, I'd be inclined to include S3+Azure properties 
there by default, for the following reason: 

we know that the secure setup for accessing remote storages is via the "hadoop 
credentials".

If credentials are put in the XML config, we are in a less secure setting 
already, probably for experimenting.
For this less secure setting, I think we should make things easier for the end 
user, avoiding them the extra step of overriding 
"hive.conf.propagate.exec.engines".

Of course it's not a blocker, I am fine with a default value '' if you think 
it's the best way to proceed.

> Let secret config properties to be propagated to Tez
> ----------------------------------------------------
>
>                 Key: HIVE-25929
>                 URL: https://issues.apache.org/jira/browse/HIVE-25929
>             Project: Hive
>          Issue Type: Bug
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>
> History in chronological order:
> HIVE-10508: removed some passwords from config that's propagated to execution 
> engines
> HIVE-9013: introduced hive.conf.hidden.list, which is used instead of the 
> hardcoded list in HIVE-10508
> the problem with HIVE-9013 is it's about to introduce a common method for 
> removing sensitive data from Configuration, which absolutely makes sense in 
> most of the cases (set command showing sensitive data), but can cause issues 
> e.g. while using non-secure cloud connectors on a cluster, where instead of 
> the hadoop credential provider API (which is considered the secure and proper 
> way), passwords/secrets appear in the Configuration object (like: 
> "fs.azure.account.oauth2.client.secret")
> 2 possible solutions:
> 1. introduce a new property like: "hive.conf.hidden.list.exec.engines" -> 
> which defaults to "hive.conf.hidden.list" (configurable, but maybe just more 
> confusing to users, having a new config property which should be understood 
> and maintained on a cluster)
> 2. simply revert DAGUtils to use to old stripHivePasswordDetails introduced 
> by HIVE-10508 (convenient, less confusing for users, but cannot be configured)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to