@Override
  public void setName(String name) {
    this.name = name;
  }
URL based leader election via metastore.housekeeping.leader.hostname.
If the value is empty, means no election happening and all instances are leaders,
otherwise the instance matching the configured hostname will be selected as a leader.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/leader/StaticLeaderElection.java