hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-19870) HCatalog dynamic partition query can fail, if the table path is managed by Sentry
Date Sun, 17 Jun 2018 13:36:00 GMT


Hive QA commented on HIVE-19870:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Tests exited with: Exception: Patch URL
was found in seen patch url's cache and a test was probably run already on it. Aborting...

This message is automatically generated.

ATTACHMENT ID: 12927952 - PreCommit-HIVE-Build

> HCatalog dynamic partition query can fail, if the table path is managed by Sentry
> ---------------------------------------------------------------------------------
>                 Key: HIVE-19870
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-19870.2.patch, HIVE-19870.3.patch, HIVE-19870.4.patch, HIVE-19870.patch
> The central issue is that HCatalog is assuming it needs to handle the storage based authorization
features. When a job completes, in HCatalog's file committing phase it tries to manually set
the permissions for the table for authorization's sake, which makes it go against auto-authorization
managment features provided by Sentry.
> The offending code is specifically at []
> and
> []
> and
> []
> where you can notice that _after_ it moves the files created by the job into their
respective partition directories under the final table destination, it goes onto trying to
perform chmod/chgrp operations which will fail out

This message was sent by Atlassian JIRA

View raw message