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-20521) HS2 doAs=true has permission issue with hadoop.tmp.dir, with MR and S3A filesystem
Date Sat, 08 Sep 2018 18:06:00 GMT

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

Hive QA commented on HIVE-20521:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12938938/HIVE-20521.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), 14930 tests executed
*Failed tests:*
{noformat}
org.apache.hive.jdbc.miniHS2.TestHs2ConnectionMetricsHttp.testOpenConnectionMetrics (batchId=255)
org.apache.hive.service.cli.TestEmbeddedThriftBinaryCLIService.testExecuteStatementParallel
(batchId=247)
{noformat}

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

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: 12938938 - PreCommit-HIVE-Build

> HS2 doAs=true has permission issue with hadoop.tmp.dir, with MR and S3A filesystem
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-20521
>                 URL: https://issues.apache.org/jira/browse/HIVE-20521
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Major
>         Attachments: HIVE-20521.1.patch
>
>
> This is a result of changes in HIVE-18858.
>  As described by [~puneetj] in HIVE-18858 -
> {quote}
> This seems to have broken working scenarios with Hive MR.  We now see hadoop.tmp.dir
is always set to /tmp/hadoop-hive (in job.xml). This creates problems on a multi-tenant hadoop
cluster since ownership of tmp folder is set to the user who executes the jobs first and other
users fails to write to tmp folder.
> E.g. User1 run job and /tmp/hadoop-hive is created on worker node with ownership to user1
and sibsequently user2 tries to run a job and job fails due to no write permission on /tmp/hadoop-hive/
> Old behavior allowed multiple tenants to write to their respective tmp folders which
was secure and contention free. User1 - /tmp/hadoop-user1, User2 - /tmp/hadoop-user2.
> {quote}
>  



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

Mime
View raw message