hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1344432 - in /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase: RegionServerStatusProtocol.java ipc/RegionServerStatusProtocol.java
Date Wed, 30 May 2012 19:53:37 GMT
Author: stack
Date: Wed May 30 19:53:37 2012
New Revision: 1344432

URL: http://svn.apache.org/viewvc?rev=1344432&view=rev
Log:
HBASE-5932 Move RegionServerStatusProtocol from ipc package to top-level

Added:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionServerStatusProtocol.java
Removed:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RegionServerStatusProtocol.java

Added: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionServerStatusProtocol.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionServerStatusProtocol.java?rev=1344432&view=auto
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionServerStatusProtocol.java
(added)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/RegionServerStatusProtocol.java
Wed May 30 19:53:37 2012
@@ -0,0 +1,39 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hbase;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+import org.apache.hadoop.hbase.ipc.VersionedProtocol;
+import org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionServerStatusService;
+import org.apache.hadoop.hbase.security.TokenInfo;
+import org.apache.hadoop.hbase.security.KerberosInfo;
+
+/**
+ * Protocol that a RegionServer uses to communicate its status to the Master.
+ */
+@KerberosInfo(
+  serverPrincipal = "hbase.master.kerberos.principal")
+@TokenInfo("HBASE_AUTH_TOKEN")
+@InterfaceAudience.Private
+@InterfaceStability.Evolving
+public interface RegionServerStatusProtocol extends
+    RegionServerStatusService.BlockingInterface, VersionedProtocol {
+  public static final long VERSION = 1L;
+}



Mime
View raw message