Review Board 1.7.22


HBASE-5621 Convert admin protocol of HRegionInterface to PB

Review Request #4714 - Created April 13, 2012 and submitted

Jimmy Xiang
trunk
HBASE-5621
Reviewers
hbase
hbase-git
This is the admin part of HBase-5443.  AdminProtocol part.
All unit tests passed.

Diff revision 1

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

1 2 3
1 2 3

  1. src/main/java/org/apache/hadoop/hbase/AdminProtocol.java: Loading...
  2. src/main/java/org/apache/hadoop/hbase/ClientProtocol.java: Loading...
  3. src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java: Loading...
  4. src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java: Loading...
  5. src/main/java/org/apache/hadoop/hbase/client/HConnection.java: Loading...
  6. src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java: Loading...
  7. src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java: Loading...
  8. src/main/java/org/apache/hadoop/hbase/client/ServerCallable.java: Loading...
  9. src/main/java/org/apache/hadoop/hbase/ipc/HBaseRPC.java: Loading...
  10. src/main/java/org/apache/hadoop/hbase/ipc/Invocation.java: Loading...
  11. src/main/java/org/apache/hadoop/hbase/ipc/RpcEngine.java: Loading...
  12. src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java: Loading...
  13. src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java: Loading...
  14. src/main/java/org/apache/hadoop/hbase/master/ServerManager.java: Loading...
  15. src/main/java/org/apache/hadoop/hbase/protobuf/AdminProtocol.java: Loading...
  16. src/main/java/org/apache/hadoop/hbase/protobuf/ClientProtocol.java: Loading...
  17. src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java: Loading...
  18. src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java: Loading...
  19. src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java: Loading...
  20. src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java: Loading...
This diff has been split across 2 pages: 1 2 >
src/main/java/org/apache/hadoop/hbase/AdminProtocol.java
New File

    
   
1
/**

    
   
2
 * Licensed to the Apache Software Foundation (ASF) under one

    
   
3
 * or more contributor license agreements.  See the NOTICE file

    
   
4
 * distributed with this work for additional information

    
   
5
 * regarding copyright ownership.  The ASF licenses this file

    
   
6
 * to you under the Apache License, Version 2.0 (the

    
   
7
 * "License"); you may not use this file except in compliance

    
   
8
 * with the License.  You may obtain a copy of the License at

    
   
9
 *

    
   
10
 *     http://www.apache.org/licenses/LICENSE-2.0

    
   
11
 *

    
   
12
 * Unless required by applicable law or agreed to in writing, software

    
   
13
 * distributed under the License is distributed on an "AS IS" BASIS,

    
   
14
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

    
   
15
 * See the License for the specific language governing permissions and

    
   
16
 * limitations under the License.

    
   
17
 */

    
   
18

   

    
   
19
package org.apache.hadoop.hbase;

    
   
20

   

    
   
21
import org.apache.hadoop.classification.InterfaceAudience;

    
   
22
import org.apache.hadoop.hbase.ipc.VersionedProtocol;

    
   
23
import org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService;

    
   
24
import org.apache.hadoop.hbase.security.TokenInfo;

    
   
25
import org.apache.hadoop.security.KerberosInfo;

    
   
26

   

    
   
27
/**

    
   
28
 * Protocol that a HBase client uses to communicate with a region server.

    
   
29
 */

    
   
30
@KerberosInfo(

    
   
31
  serverPrincipal = "hbase.regionserver.kerberos.principal")

    
   
32
@TokenInfo("HBASE_AUTH_TOKEN")

    
   
33
@InterfaceAudience.Private

    
   
34
public interface AdminProtocol extends

    
   
35
    AdminService.BlockingInterface, VersionedProtocol {

    
   
36
  public static final long VERSION = 1L;

    
   
37
}
src/main/java/org/apache/hadoop/hbase/ClientProtocol.java
New File
 
src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
Revision 408db79 New Change
 
src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
Revision ee16e72 New Change
 
src/main/java/org/apache/hadoop/hbase/client/HConnection.java
Revision 23f8e5a New Change
 
src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Revision 820e2a9 New Change
 
src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
Revision fe80fcf New Change
 
src/main/java/org/apache/hadoop/hbase/client/ServerCallable.java
Revision 2a9d86e New Change
 
src/main/java/org/apache/hadoop/hbase/ipc/HBaseRPC.java
Revision 3a3a79f New Change
 
src/main/java/org/apache/hadoop/hbase/ipc/Invocation.java
Revision b7afa58 New Change
 
src/main/java/org/apache/hadoop/hbase/ipc/RpcEngine.java
Revision dd0a1bc New Change
 
src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java
Revision 9f159f2 New Change
 
src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Revision ab33ac7 New Change
 
src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
Revision 70901fe New Change
 
src/main/java/org/apache/hadoop/hbase/protobuf/AdminProtocol.java
Revision 422e865 New Change
 
src/main/java/org/apache/hadoop/hbase/protobuf/ClientProtocol.java
Revision 3d6a23a New Change
 
src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
Revision b056830 New Change
 
src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java
Revision a912cc3 New Change
 
src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java
Revision e78e56d New Change
 
src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Revision 0d22c0e New Change
 
  1. src/main/java/org/apache/hadoop/hbase/AdminProtocol.java: Loading...
  2. src/main/java/org/apache/hadoop/hbase/ClientProtocol.java: Loading...
  3. src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java: Loading...
  4. src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java: Loading...
  5. src/main/java/org/apache/hadoop/hbase/client/HConnection.java: Loading...
  6. src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java: Loading...
  7. src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java: Loading...
  8. src/main/java/org/apache/hadoop/hbase/client/ServerCallable.java: Loading...
  9. src/main/java/org/apache/hadoop/hbase/ipc/HBaseRPC.java: Loading...
  10. src/main/java/org/apache/hadoop/hbase/ipc/Invocation.java: Loading...
  11. src/main/java/org/apache/hadoop/hbase/ipc/RpcEngine.java: Loading...
  12. src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java: Loading...
  13. src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java: Loading...
  14. src/main/java/org/apache/hadoop/hbase/master/ServerManager.java: Loading...
  15. src/main/java/org/apache/hadoop/hbase/protobuf/AdminProtocol.java: Loading...
  16. src/main/java/org/apache/hadoop/hbase/protobuf/ClientProtocol.java: Loading...
  17. src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java: Loading...
  18. src/main/java/org/apache/hadoop/hbase/protobuf/RequestConverter.java: Loading...
  19. src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java: Loading...
  20. src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java: Loading...
This diff has been split across 2 pages: 1 2 >