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 189239C9A for ; Fri, 22 Jun 2012 16:04:45 +0000 (UTC) Received: (qmail 17850 invoked by uid 500); 22 Jun 2012 16:04:43 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 17779 invoked by uid 500); 22 Jun 2012 16:04:43 -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 17604 invoked by uid 99); 22 Jun 2012 16:04:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 16:04:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 7218C1404B4 for ; Fri, 22 Jun 2012 16:04:43 +0000 (UTC) Date: Fri, 22 Jun 2012 16:04:43 +0000 (UTC) From: "rajeshbabu (JIRA)" To: issues@hbase.apache.org Message-ID: <373643024.44407.1340381083469.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1853561638.35064.1340215602671.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HBASE-6246) Admin.move() without specifying destination calls am.unassign() and does not go through AccessController. 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-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rajeshbabu updated HBASE-6246: ------------------------------ Attachment: HBASE-6246_94.patch > Admin.move() without specifying destination calls am.unassign() and does not go through AccessController. > --------------------------------------------------------------------------------------------------------- > > Key: HBASE-6246 > URL: https://issues.apache.org/jira/browse/HBASE-6246 > Project: HBase > Issue Type: Bug > Components: coprocessors, security > Affects Versions: 0.94.0, 0.94.1 > Reporter: ramkrishna.s.vasudevan > Assignee: rajeshbabu > Labels: coprocessors, security > Fix For: 0.94.1 > > Attachments: HBASE-6246_94.patch > > > {code} > if (destServerName == null || destServerName.length == 0) { > LOG.info("Passed destination servername is null/empty so " + > "choosing a server at random"); > this.assignmentManager.clearRegionPlan(hri); > // Unassign will reassign it elsewhere choosing random server. > this.assignmentManager.unassign(hri); > {code} > I think we should go through security to see if there is sufficient permissions to do this operation? -- 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