Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 737E41024B for ; Wed, 2 Oct 2013 14:56:45 +0000 (UTC) Received: (qmail 84578 invoked by uid 500); 2 Oct 2013 14:56:43 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84514 invoked by uid 500); 2 Oct 2013 14:56:43 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 84502 invoked by uid 500); 2 Oct 2013 14:56:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84496 invoked by uid 99); 2 Oct 2013 14:56:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 14:56:42 +0000 Date: Wed, 2 Oct 2013 14:56:42 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5413) StorageDelegationAuthorizationProvider uses non-existent org.apache.hive.hcatalog.hbase.HBaseHCatStorageHandler 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/HIVE-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784039#comment-13784039 ] Hive QA commented on HIVE-5413: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12606251/HIVE-5413.patch {color:green}SUCCESS:{color} +1 4043 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/995/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/995/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. > StorageDelegationAuthorizationProvider uses non-existent org.apache.hive.hcatalog.hbase.HBaseHCatStorageHandler > --------------------------------------------------------------------------------------------------------------- > > Key: HIVE-5413 > URL: https://issues.apache.org/jira/browse/HIVE-5413 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.12.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Fix For: 0.12.0 > > Attachments: HIVE-5413.patch > > > org.apache.hive.hcatalog.security.StorageDelegationAuthorizationProvider > has a block like this: > static { > registerAuthProvider("org.apache.hadoop.hive.hbase.HBaseStorageHandler", > "org.apache.hive.hcatalog.hbase.HBaseAuthorizationProvider"); > registerAuthProvider("org.apache.hive.hcatalog.hbase.HBaseHCatStorageHandler", > "org.apache.hive.hcatalog.hbase.HBaseAuthorizationProvider"); > } > In reality, HBaseHCatStorageHandler and HBaseAuthorizationProvider only exist in org.apache.hcatalog > This should be fixed by removing org.apache.hive.hcatalog.security.StorageDelegationAuthorizationProvider. We have org.apache.hcatalog.security.StorageDelegationAuthorizationProvider which is only used by now deprecated hcatalog version of hbase storage handler. > Also, > hcatalog/src/test/e2e/hcatalog/tests/pig.conf & hadoop.conf have the same problem. > In addition, the tests affected in pig.conf/hadoop.conf should use org.apache.hcatalog.pig.HCatLoader/HCatStorer. > Finally, hadoop.conf#Hadoop_HBase is using org.apache.hive.hcatalog.utils.HBaseReadWrite which internally refers to org.apache.hive.hcatalog.* classes. The later should only use org.apache.hcatalog.* since it's using HBaseHCatStoreageHandler. Also, should move HBaseReadWrite to org.apache.hcatalog for clarity. > (see the last paragraph of the Description of HIVE-5274) -- This message was sent by Atlassian JIRA (v6.1#6144)