[
https://issues.apache.org/jira/browse/HIVE-26352?focusedWorklogId=784277&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-784277
]
ASF GitHub Bot logged work on HIVE-26352:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jun/22 15:40
Start Date: 23/Jun/22 15:40
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3402:
URL: https://github.com/apache/hive/pull/3402#discussion_r905183674
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/YarnQueueHelper.java:
##########
@@ -92,6 +94,20 @@ public YarnQueueHelper(HiveConf conf) {
}
public void checkQueueAccess(
+ String queueName, String userName) throws IOException,
InterruptedException {
+ UserGroupInformation ugi = UserGroupInformation.getCurrentUser();
+ ugi.doAs((PrivilegedExceptionAction<Object>) () -> {
Review Comment:
PrivilegedExceptionAction<Void> ?
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/YarnQueueHelper.java:
##########
@@ -92,6 +94,20 @@ public YarnQueueHelper(HiveConf conf) {
}
public void checkQueueAccess(
+ String queueName, String userName) throws IOException,
InterruptedException {
+ UserGroupInformation ugi = UserGroupInformation.getCurrentUser();
+ ugi.doAs((PrivilegedExceptionAction<Object>) () -> {
Review Comment:
PrivilegedExceptionAction'<'Void'>' ?
Issue Time Tracking
-------------------
Worklog Id: (was: 784277)
Time Spent: 40m (was: 0.5h)
> Tez queue access check fails with GSS Exception on Compaction
> -------------------------------------------------------------
>
> Key: HIVE-26352
> URL: https://issues.apache.org/jira/browse/HIVE-26352
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When hive.server2.tez.queue.access.check is enabled and
> hive.compactor.job.queue is configured to a different queue than default,
> compaction jobs fails at analyze table step, but it's marked as compacted. It
> seems that the application is trying to call the yarn queue check url with
> wrong credentials
--
This message was sent by Atlassian Jira
(v8.20.7#820007)