[
https://issues.apache.org/jira/browse/HIVE-25829?focusedWorklogId=703119&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-703119
]
ASF GitHub Bot logged work on HIVE-25829:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Jan/22 21:28
Start Date: 03/Jan/22 21:28
Worklog Time Spent: 10m
Work Description: nareshpr commented on a change in pull request #2911:
URL: https://github.com/apache/hive/pull/2911#discussion_r777712804
##########
File path: common/src/java/org/apache/hadoop/hive/conf/HiveConfUtil.java
##########
@@ -199,16 +199,16 @@ public static void
updateJobCredentialProviders(Configuration jobConf) {
if (credstorePassword != null) {
String execEngine = jobConf.get(ConfVars.HIVE_EXECUTION_ENGINE.varname);
- if ("mr".equalsIgnoreCase(execEngine)) {
- // if the execution engine is MR set the map/reduce env with the
credential store password
+ if ("mr".equalsIgnoreCase(execEngine) ||
"tez".equalsIgnoreCase(execEngine)) {
+ // if the execution engine is MR/Tez set the map/reduce env with the
credential store password
Collection<String> redactedProperties =
jobConf.getStringCollection(MRJobConfig.MR_JOB_REDACTED_PROPERTIES);
-
Stream.of(
JobConf.MAPRED_MAP_TASK_ENV,
JobConf.MAPRED_REDUCE_TASK_ENV,
- MRJobConfig.MR_AM_ADMIN_USER_ENV)
+ MRJobConfig.MR_AM_ADMIN_USER_ENV,
+ "tez.am.launch.env")
Review comment:
Is this credential required for tez.task.launch.env ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 703119)
Time Spent: 20m (was: 10m)
> Tez exec mode support for credential provider for jobs
> ------------------------------------------------------
>
> Key: HIVE-25829
> URL: https://issues.apache.org/jira/browse/HIVE-25829
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: Ádám Szita
> Assignee: László Bodor
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> HIVE-14822 introduced support to securely forward a job specific java
> credential store path, and a corresponding password to the backend executors.
> This is currently implemented for only MR2 and Spark execution engines. I
> propose we extend this feature by adding Tez mode to said list.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)