hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
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


Hive QA commented on HIVE-20521:

Here are the results of testing the latest attachment:

{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:*
org.apache.hive.jdbc.miniHS2.TestHs2ConnectionMetricsHttp.testOpenConnectionMetrics (batchId=255)

Test results:
Console output:
Test logs:

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

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:
>             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

View raw message