hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6246) Admin.move without specifying destination does not go through AccessController
Date Sat, 23 Jun 2012 18:23:47 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400016#comment-13400016
] 

Hudson commented on HBASE-6246:
-------------------------------

Integrated in HBase-0.94-security #37 (See [https://builds.apache.org/job/HBase-0.94-security/37/])
    Amend HBASE-6246. Admin.move without specifying destination does not go through AccessController

The previous committed change for HBASE-6246 accidentally removed logic
and the omission was caught by TestSplitTransactionOnCluster failures. (Revision 1353063)
HBASE-6246. Admin.move without specifying destination does not go through AccessController
(rajeshbabu) (Revision 1352981)

     Result = SUCCESS
apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

                
> Admin.move without specifying destination 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: 6246.addendum, HBASE-6246_94-addendum.patch, 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

        

Mime
View raw message