protected MasterRpcServices createRpcServices() throws IOException {
    return new MasterRpcServices(this);
  }
For compatibility, if failed with regionserver credentials, try the master one
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java