You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Laxman (JIRA)" <ji...@apache.org> on 2012/06/20 21:48:42 UTC

[jira] [Updated] (HBASE-6246) Admin.move() without specifying destination calls am.unassign() and does not go through AccessController.

     [ https://issues.apache.org/jira/browse/HBASE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laxman updated HBASE-6246:
--------------------------

          Component/s: coprocessors
    Affects Version/s: 0.94.1
                       0.94.0
               Labels: coprocessors security  (was: )

Seems to be 0.94 specific issue. Code looks good in trunk.

                
> 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
>              Labels: coprocessors, security
>
> {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