public int getBackupMasterInfoPort(final ServerName sn) {
    return activeMasterManager.getBackupMasterInfoPort(sn);
  }
@param sn is ServerName of the backup master
@return info port of backup master or 0 if any exception occurs.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java