hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1333600 - in /hbase/trunk: security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java src/main/resources/hbase-webapps/master/table.jsp
Date Thu, 03 May 2012 20:02:58 GMT
Author: stack
Date: Thu May  3 20:02:58 2012
New Revision: 1333600

URL: http://svn.apache.org/viewvc?rev=1333600&view=rev
Log:
HBASE-5931 HBase security profile doesn't compile

Modified:
    hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java
    hbase/trunk/src/main/resources/hbase-webapps/master/table.jsp

Modified: hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java
URL: http://svn.apache.org/viewvc/hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java?rev=1333600&r1=1333599&r2=1333600&view=diff
==============================================================================
--- hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java
(original)
+++ hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/HBasePolicyProvider.java
Thu May  3 20:02:58 2012
@@ -19,8 +19,8 @@ package org.apache.hadoop.hbase.security
 
 import org.apache.hadoop.conf.Configuration;
 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.RegionServerStatusProtocol;
 import org.apache.hadoop.security.authorize.PolicyProvider;
 import org.apache.hadoop.security.authorize.Service;
 import org.apache.hadoop.security.authorize.ServiceAuthorizationManager;
@@ -33,7 +33,7 @@ public class HBasePolicyProvider extends
   protected static Service[] services = {
       new Service("security.client.protocol.acl", HRegionInterface.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

Modified: hbase/trunk/src/main/resources/hbase-webapps/master/table.jsp
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/resources/hbase-webapps/master/table.jsp?rev=1333600&r1=1333599&r2=1333600&view=diff
==============================================================================
--- hbase/trunk/src/main/resources/hbase-webapps/master/table.jsp (original)
+++ hbase/trunk/src/main/resources/hbase-webapps/master/table.jsp Thu May  3 20:02:58 2012
@@ -19,19 +19,14 @@
 --%>
 <%@ page contentType="text/html;charset=UTF-8"
   import="java.util.HashMap"
-  import="org.apache.hadoop.io.Writable"
   import="org.apache.hadoop.conf.Configuration"
   import="org.apache.hadoop.hbase.client.HTable"
   import="org.apache.hadoop.hbase.client.HBaseAdmin"
   import="org.apache.hadoop.hbase.client.HConnectionManager"
   import="org.apache.hadoop.hbase.HRegionInfo"
   import="org.apache.hadoop.hbase.ServerName"
-  import="org.apache.hadoop.hbase.HServerAddress"
-  import="org.apache.hadoop.hbase.ServerName"
-  import="org.apache.hadoop.hbase.HServerInfo"
-  import="org.apache.hadoop.hbase.ServerLoad;"
+  import="org.apache.hadoop.hbase.ServerLoad"
   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.util.Bytes"
   import="org.apache.hadoop.hbase.util.FSUtils"



Mime
View raw message