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 894DBDC86 for ; Fri, 31 Aug 2012 17:27:08 +0000 (UTC) Received: (qmail 79640 invoked by uid 500); 31 Aug 2012 17:27:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 79557 invoked by uid 500); 31 Aug 2012 17:27:08 -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 79398 invoked by uid 99); 31 Aug 2012 17:27:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 17:27:08 +0000 Date: Sat, 1 Sep 2012 04:27:08 +1100 (NCT) From: "Francis Liu (JIRA)" To: issues@hbase.apache.org Message-ID: <1818875145.23399.1346434028074.JavaMail.jiratomcat@arcas> In-Reply-To: <1151037817.80658.1342760315002.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HBASE-6432) HRegionServer doesn't properly set clusterId in conf 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/HBASE-6432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francis Liu updated HBASE-6432: ------------------------------- Attachment: HBASE-6432.patch Here's patch of what I described. Let me know if this is ok and I'll come up with an 0.94 patch. > HRegionServer doesn't properly set clusterId in conf > ---------------------------------------------------- > > Key: HBASE-6432 > URL: https://issues.apache.org/jira/browse/HBASE-6432 > Project: HBase > Issue Type: Bug > Affects Versions: 0.94.0, 0.96.0 > Reporter: Francis Liu > Assignee: Francis Liu > Attachments: HBASE-6432_94.patch, HBASE-6432.patch > > > ClusterId is normally set into the passed conf during instantiation of an HTable class. In the case of a HRegionServer this is bypassed and set to "default" since getMaster() since it uses HBaseRPC to create the proxy directly and bypasses the class which retrieves and sets the correct clusterId. > This becomes a problem with clients (ie within a coprocessor) using delegation tokens for authentication. Since the token's service will be the correct clusterId and while the TokenSelector is looking for one with service "default". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira