HBASE-5931 HBase security profile doesn't compile

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1333600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-05-03 20:02:58 +00:00
parent f84bf9cbe7
commit 05433f891b
2 changed files with 3 additions and 8 deletions

View File

@ -19,8 +19,8 @@ package org.apache.hadoop.hbase.security;
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.ipc.HMasterInterface; import org.apache.hadoop.hbase.ipc.HMasterInterface;
import org.apache.hadoop.hbase.ipc.HMasterRegionInterface;
import org.apache.hadoop.hbase.ipc.HRegionInterface; import org.apache.hadoop.hbase.ipc.HRegionInterface;
import org.apache.hadoop.hbase.ipc.RegionServerStatusProtocol;
import org.apache.hadoop.security.authorize.PolicyProvider; import org.apache.hadoop.security.authorize.PolicyProvider;
import org.apache.hadoop.security.authorize.Service; import org.apache.hadoop.security.authorize.Service;
import org.apache.hadoop.security.authorize.ServiceAuthorizationManager; import org.apache.hadoop.security.authorize.ServiceAuthorizationManager;
@ -33,7 +33,7 @@ public class HBasePolicyProvider extends PolicyProvider {
protected static Service[] services = { protected static Service[] services = {
new Service("security.client.protocol.acl", HRegionInterface.class), new Service("security.client.protocol.acl", HRegionInterface.class),
new Service("security.admin.protocol.acl", HMasterInterface.class), new Service("security.admin.protocol.acl", HMasterInterface.class),
new Service("security.masterregion.protocol.acl", HMasterRegionInterface.class) new Service("security.masterregion.protocol.acl", RegionServerStatusProtocol.class)
}; };
@Override @Override

View File

@ -19,19 +19,14 @@
--%> --%>
<%@ page contentType="text/html;charset=UTF-8" <%@ page contentType="text/html;charset=UTF-8"
import="java.util.HashMap" import="java.util.HashMap"
import="org.apache.hadoop.io.Writable"
import="org.apache.hadoop.conf.Configuration" import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.hbase.client.HTable" import="org.apache.hadoop.hbase.client.HTable"
import="org.apache.hadoop.hbase.client.HBaseAdmin" import="org.apache.hadoop.hbase.client.HBaseAdmin"
import="org.apache.hadoop.hbase.client.HConnectionManager" import="org.apache.hadoop.hbase.client.HConnectionManager"
import="org.apache.hadoop.hbase.HRegionInfo" import="org.apache.hadoop.hbase.HRegionInfo"
import="org.apache.hadoop.hbase.ServerName" import="org.apache.hadoop.hbase.ServerName"
import="org.apache.hadoop.hbase.HServerAddress" import="org.apache.hadoop.hbase.ServerLoad"
import="org.apache.hadoop.hbase.ServerName"
import="org.apache.hadoop.hbase.HServerInfo"
import="org.apache.hadoop.hbase.ServerLoad;"
import="org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad" import="org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionLoad"
import="org.apache.hadoop.hbase.io.ImmutableBytesWritable"
import="org.apache.hadoop.hbase.master.HMaster" import="org.apache.hadoop.hbase.master.HMaster"
import="org.apache.hadoop.hbase.util.Bytes" import="org.apache.hadoop.hbase.util.Bytes"
import="org.apache.hadoop.hbase.util.FSUtils" import="org.apache.hadoop.hbase.util.FSUtils"