nyl3532016 commented on a change in pull request #3580:
URL: https://github.com/apache/hbase/pull/3580#discussion_r693288920
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/AbstractServer.java
##########
@@ -431,4 +435,18 @@ public FileSystem getFileSystem() {
protected abstract AbstractRpcServices getRpcService();
protected abstract String getProcessName();
+
+ public ServerType getServerType(){
+ String processName = getProcessName();
+ if(processName.equals(MASTER)){
Review comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]