You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hcatalog-commits@incubator.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2011/04/25 18:45:03 UTC

[jira] [Updated] (HCATALOG-6) Unit test TestPermsInheritance fails

     [ https://issues.apache.org/jira/browse/HCATALOG-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HCATALOG-6:
------------------------------------

    Attachment: hcat_6.patch

HCat makes use of some public methods of BaseSemanticAnalyzer in Hive. Those methods changed behavior. Reverting to older version of Hive, solves the issue. In long term, I want to move the functionality of setting permissions and groups from client to server, so all these tests and code will be rewritten.

> Unit test TestPermsInheritance fails
> ------------------------------------
>
>                 Key: HCATALOG-6
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-6
>             Project: HCatalog
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Ashutosh Chauhan
>         Attachments: hcat_6.patch
>
>
> Running the unit test produces:
> Hive history file=/tmp/gates/hive_job_log_gates_201104191142_2097484086.txt
> OK
> Failed to set permissions/groups on TABLE: <TOK_TABNAME> Table TOK_TABNAME not found
> ------------- ---------------- ---------------
> Testcase: testNoPartTbl took 11.287 sec
>     FAILED
> expected:<1> but was:<0>
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
>     at org.apache.hcatalog.pig.TestPermsInheritance.testNoPartTbl(TestPermsInheritance.java:80)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira