hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-16346) inheritPerms should be conditional based on the target filesystem
Date Tue, 04 Apr 2017 22:17:41 GMT


Hive QA commented on HIVE-16346:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 10576 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[drop_with_concurrency] (batchId=234)
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[escape_comments] (batchId=234)
org.apache.hadoop.hive.common.TestBlobStorageUtils.testValidAndInvalidFileSystems (batchId=242) (batchId=242) (batchId=242) (batchId=242)

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.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 6 tests failed

This message is automatically generated.

ATTACHMENT ID: 12861943 - PreCommit-HIVE-Build

> inheritPerms should be conditional based on the target filesystem
> -----------------------------------------------------------------
>                 Key: HIVE-16346
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>         Attachments: HIVE-16346.1.patch, HIVE-16346.2.patch, HIVE-16346.3.patch
> Right now, a lot of the logic in {{}} attempts to set permissions of different
files that have been moved / copied. This is only triggered if {{hive.warehouse.subdir.inherit.perms}}
is set to true.
> However, on blobstores such as S3, there is no concept of file permissions so these calls
are unnecessary and can could a performance impact.
> One solution would be to set {{hive.warehouse.subdir.inherit.perms}} to false, but this
would be a global change that affects an entire HS2 instance. So HDFS tables will no longer
have permissions inheritance.
> A better solution would be to make the inheritance of permissions conditional on the
target filesystem.

This message was sent by Atlassian JIRA

View raw message