hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-6093) table creation should fail when user does not have permissions on db
Date Fri, 15 Aug 2014 23:36:18 GMT


Hive QA commented on HIVE-6093:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5815 tests executed
*Failed tests:*

Test results:
Console output:
Test logs:

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: 2 tests failed

This message is automatically generated.


> table creation should fail when user does not have permissions on db
> --------------------------------------------------------------------
>                 Key: HIVE-6093
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization, HCatalog, Metastore
>    Affects Versions: 0.12.0, 0.13.0
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>            Priority: Minor
>              Labels: authorization, metastore, security
>             Fix For: 0.14.0
>         Attachments: HIVE-6093-1.patch, HIVE-6093.1.patch, HIVE-6093.1.patch, HIVE-6093.patch
> Its possible to create a table under a database where the user does not have write permission.
It can be done by specifying a LOCATION where the user has write access (say /tmp/foo). This
should be restricted.
> HdfsAuthorizationProvider (which typically runs on client) checks the database directory
during table creation. But StorageBasedAuthorizationProvider does not.

This message was sent by Atlassian JIRA

View raw message