achennagiri commented on a change in pull request #2649:
URL: https://github.com/apache/hive/pull/2649#discussion_r712374554
##########
File path: service/src/java/org/apache/hive/service/server/KillQueryImpl.java
##########
@@ -116,6 +119,8 @@ public static void killChildYarnJobs(Configuration conf,
String tag, String doAs
private static boolean isAdmin() {
boolean isAdmin = false;
+ // RANGER-1851
+ HivePrivilegeObject serviceNameObj = new
HivePrivilegeObject(HivePrivilegeObject.HivePrivilegeObjectType.SERVICE_NAME,
null, "hiveservice");
Review comment:
So, currently the ranger service expects only "hiveservice" Ref.
https://issues.apache.org/jira/browse/RANGER-1851. This has been the case since
'17. I am even thinking of using the same for abort transactions as well. Do
you see any reason why it needs to be made configurable?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]