hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <>
Subject [jira] [Commented] (HIVE-18012) fix ct_noperm_loc test
Date Sat, 11 Nov 2017 04:42:01 GMT


Akira Ajisaka commented on HIVE-18012:

Here are two questions:
1. When runnning the test by {{mvn test -Dtest=TestNegativeCliDriver -Dqfile=ct_noperm_loc.q}}
the test was skipped. I had to modify to run the test. Is it
2. After modifying the, the test fails when creating {{hdfs:///tmp/ct_noperm_loc}}.

Command -mkdir -p hdfs:///tmp/ct_noperm_loc failed with exit code = 1
Query returned non-zero code: 1, cause: null

Am I missing something?

> fix ct_noperm_loc test
> ----------------------
>                 Key: HIVE-18012
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>         Attachments: HIVE-18012.001.patch, HIVE-18012.02.patch
> the goal of the test is to check that hive doesn't let user1 to create a table with a
location under an unowned path.
> I've bisected this test to be broken by 5250ef450430fcdeed0a2cb7a770f48647987cd3 (HIVE-12408).
> the original exception was (which have been by that sole masked line):
> {code}
> FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER]
does not have following privileges for operation CREATETABLE [[OBJECT OWNERSHIP] on Object
[type=DFS_URI, name=hdfs://localhost:35753/tmp/ct_noperm_loc_foo0]]
> {code}
> the current semanticexception shouldnt be accepted ; because it's unrelated to the tests

This message was sent by Atlassian JIRA

View raw message