From hcatalog-commits-return-61-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Mon Apr 25 18:45:41 2011 Return-Path: X-Original-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7D5C297B for ; Mon, 25 Apr 2011 18:45:41 +0000 (UTC) Received: (qmail 33022 invoked by uid 500); 25 Apr 2011 18:45:41 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 32979 invoked by uid 500); 25 Apr 2011 18:45:41 -0000 Mailing-List: contact hcatalog-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hcatalog-dev@incubator.apache.org Delivered-To: mailing list hcatalog-commits@incubator.apache.org Received: (qmail 32965 invoked by uid 99); 25 Apr 2011 18:45:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 18:45:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 18:45:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1845DB3B88 for ; Mon, 25 Apr 2011 18:45:03 +0000 (UTC) Date: Mon, 25 Apr 2011 18:45:03 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hcatalog-commits@incubator.apache.org Message-ID: <736152315.421.1303757103080.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1514865150.67851.1303238705757.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HCATALOG-6) Unit test TestPermsInheritance fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: 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