[
https://issues.apache.org/jira/browse/HIVE-20066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532503#comment-16532503
]
Hive QA commented on HIVE-20066:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12930109/HIVE-20066.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 14636 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/12370/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12370/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12370/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12930109 - PreCommit-HIVE-Build
> 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)