hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20805) Hive does not copy source data when importing as non-hive user
Date Mon, 29 Oct 2018 18:15:00 GMT

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

Hive QA commented on HIVE-20805:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12945842/HIVE-20805.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15506 tests executed
*Failed tests:*
{noformat}
TestMiniDruidCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=196)
	[druidmini_masking.q,druidmini_test1.q,druidkafkamini_basic.q,druidmini_joins.q,druid_timestamptz.q]
org.apache.hadoop.hive.common.TestFileUtils.testCopyWithDistCpAs (batchId=281)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14682/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14682/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14682/

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
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12945842 - PreCommit-HIVE-Build

> Hive does not copy source data when importing as non-hive user 
> ---------------------------------------------------------------
>
>                 Key: HIVE-20805
>                 URL: https://issues.apache.org/jira/browse/HIVE-20805
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive, HiveServer2
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20805.1.patch
>
>
> while loading data to a managed table from user given path, Hive uses move operation
to copy data from user location to table location. In case move can not be used due to permission
issue or mismatched encryption zone etc, hive uses copy and then deletes the files from source
location to keep to behavior same. But in case the user does not have write access to the
source location, delete will fail with file permission exception and load operation will fail.




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

Mime
View raw message