hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20066) hive.load.data.owner is compared to full principal
Date Tue, 03 Jul 2018 11:09:00 GMT

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

Zoltan Haindrich commented on HIVE-20066:
-----------------------------------------

+1 pending tests

> hive.load.data.owner is compared to full principal
> --------------------------------------------------
>
>                 Key: HIVE-20066
>                 URL: https://issues.apache.org/jira/browse/HIVE-20066
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 4.0.0
>            Reporter: Daniel Voros
>            Assignee: Daniel Voros
>            Priority: Major
>         Attachments: HIVE-20066.1.patch
>
>
> HIVE-19928 compares the user running HS2 to the configured owner (hive.load.data.owner)
to check if we're able to move the file with LOAD DATA or need to copy.
> This check compares the full username (that may contain the full kerberos principal)
to hive.load.data.owner. We should compare to the short username ({{UGI.getShortUserName()}})
instead. That's used in similar context [here|https://github.com/apache/hive/blob/f519db7eafacb4b4d2d9fe2a9e10e908d8077224/common/src/java/org/apache/hadoop/hive/common/FileUtils.java#L398].
> cc [~djaiswal]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message