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

Ádám Szita commented on HIVE-23612:
-----------------------------------

Yes, that absolutely make sense [~jdere]. I've amended the change - see [GitHub 
Pull Request #1121|https://github.com/apache/hive/pull/1121]

> Option for HiveStrictManagedMigration to impersonate a user for FS operations
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-23612
>                 URL: https://issues.apache.org/jira/browse/HIVE-23612
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23612.0.patch, HIVE-23612.1.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HiveStrictManagedMigration tool can be used to move HDFS paths and to change 
> ownership on said paths. It may be beneficial to do such file system 
> operations as a different user than the one the tool itself is run.
> Moreover, while creating the external DB directory, the tool will chown the 
> new directory to the user set as DB owner in HMS. If this is unset, no chown 
> command is used. In this case we should make the 'hive' user the directory 
> owner.



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

Reply via email to