Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B76479057 for ; Mon, 9 Apr 2012 18:25:41 +0000 (UTC) Received: (qmail 53045 invoked by uid 500); 9 Apr 2012 18:25:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 52927 invoked by uid 500); 9 Apr 2012 18:25:41 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 52919 invoked by uid 99); 9 Apr 2012 18:25:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2012 18:25: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, 09 Apr 2012 18:25: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 5A91A361066 for ; Mon, 9 Apr 2012 18:25:20 +0000 (UTC) Date: Mon, 9 Apr 2012 18:25:20 +0000 (UTC) From: "Nicolas Spiegelberg (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1387566784.3788.1333995920386.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <736076114.17323.1333639945165.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5727) secure hbase build broke because of 'HBASE-5451 Switch RPC call envelope/headers to PBs' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250028#comment-13250028 ] Nicolas Spiegelberg commented on HBASE-5727: -------------------------------------------- I agree with Stack, this isn't a common occurrence and is pretty trivial to fix. getConf() was, sadly, a hack API that was public because one of the tests wasn't in the same namespace originally. It shouldn't have been public because the config has traditionally been at a per-server granularity. Now, with HBASE-5335, the per-server config object can be per-server or per-region/per-CF depending upon how it's used and the functionality you want. Now: HRegion.conf != HRegionServer.conf != Store.conf. If your coprocessor uses the HRegionServer.conf, it should work the same as it always has. If your corprocessor uses HRegion.conf, a compilation error is better than a subtle runtime error that you have to spend a week hunting down. Of course, this is part of why we tell people they are playing with fire if they use a coprocessor (vs. MySQL triggers). Taking a look at the security code, it looks like you want to use HRegionServer.conf because both calling classes seem to access global security data. See HRegionServer.getConfiguration(), which is used in other sections of the AccessController class. > secure hbase build broke because of 'HBASE-5451 Switch RPC call envelope/headers to PBs' > ---------------------------------------------------------------------------------------- > > Key: HBASE-5727 > URL: https://issues.apache.org/jira/browse/HBASE-5727 > Project: HBase > Issue Type: Bug > Reporter: stack > Assignee: Devaraj Das > Priority: Blocker > Fix For: 0.96.0 > > Attachments: 5727.1.patch, 5727.2.patch, 5727.patch > > > If you build with the security profile -- i.e. add '-P security' on the command line -- you'll see that the secure build is broke since we messed in rpc. > Assigning Deveraj to take a look. If you can't work on this now DD, just give it back to me and I'll have a go at it. Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira