Skip to content

Commit 7e8fbb2

Browse files
committed
HBASE-25288 Make MasterRpcServices not extends RSRpcServices and also HMaster not extends HRegionServer
1 parent 0098164 commit 7e8fbb2

40 files changed

+2049
-1955
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/Abortable.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@
3030
*/
3131
@InterfaceAudience.Private
3232
public interface Abortable {
33+
34+
/**
35+
* Abort the server or client.
36+
* @param why Why we're aborting.
37+
* @see #abort(String, Throwable)
38+
*/
39+
default void abort(String why) {
40+
abort(why, null);
41+
}
42+
3343
/**
3444
* Abort the server or client.
3545
* @param why Why we're aborting.

hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseRpcServicesBase.java

Lines changed: 386 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)