[ 
https://issues.apache.org/jira/browse/HIVE-24191?focusedWorklogId=489554&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-489554
 ]

ASF GitHub Bot logged work on HIVE-24191:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Sep/20 12:22
            Start Date: 23/Sep/20 12:22
    Worklog Time Spent: 10m 
      Work Description: pvary commented on a change in pull request #1518:
URL: https://github.com/apache/hive/pull/1518#discussion_r493523854



##########
File path: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
##########
@@ -3098,6 +3098,10 @@ private static void 
populateLlapDaemonVarsSet(Set<String> llapDaemonVarsSetLocal
         "This is set to compactor from within the query based compactor. This 
enables the Tez SplitGrouper "
         + "to group splits based on their bucket number, so that all rows from 
different bucket files "
         + " for the same bucket number can end up in the same bucket file 
after the compaction."),
+    // MetastoreConf doesn't have a restricted list. Otherwise can be moved 
there.
+    COMPACTOR_RUN_AS_USER("hive.compactor.run.as.user", "",
+        "Specify the user to run compaction (Worker) and compaction-related 
file listing (Initiator, Cleaner) as. " +
+        "If empty string, defaults to table/partition directory owner. 
Restricted."),

Review comment:
       AFAIK only very specific HMS confs could be changed by the user 
(HiveConf.metaConfVars). So restricting it might not be needed.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 489554)
    Time Spent: 0.5h  (was: 20m)

> Introduce configurable user to run compaction as
> ------------------------------------------------
>
>                 Key: HIVE-24191
>                 URL: https://issues.apache.org/jira/browse/HIVE-24191
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> File listing in compaction Initiator and Cleaner, as well as compaction (MR 
> as of HIVE-23929 and query-based as of HIVE-24089) run as the table directory 
> owner. (CompactorThread#findUserToRunAs)
> We should create a configuration that enables setting the user that these 
> would run as instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to