static AccountService getHelixAccountService(String zkServer, String storePath, String backupDir,
      int zkConnectionTimeoutMs, int zkSessionTimeoutMs) {
    Properties helixConfigProps = new Properties();
    helixConfigProps.setProperty(
        HelixPropertyStoreConfig.HELIX_PROPERTY_STORE_PREFIX + "zk.client.connection.timeout.ms",
        String.valueOf(zkConnectionTimeoutMs));
    helixConfigProps.setProperty(HelixPropertyStoreConfig.HELIX_PROPERTY_STORE_PREFIX + "zk.client.session.timeout.ms",
        String.valueOf(zkSessionTimeoutMs));
    helixConfigProps.setProperty(HelixAccountServiceConfig.ZK_CLIENT_CONNECT_STRING_KEY, zkServer);
    helixConfigProps.setProperty(HelixPropertyStoreConfig.HELIX_PROPERTY_STORE_PREFIX + "root.path", storePath);
    helixConfigProps.setProperty(HelixAccountServiceConfig.BACKUP_DIRECTORY_KEY, backupDir);
    VerifiableProperties vHelixConfigProps = new VerifiableProperties(helixConfigProps);
    return new HelixAccountServiceFactory(vHelixConfigProps, new MetricRegistry()).getAccountService();
  }
Method to create instances of {@link HelixAccountService}.
@param zkServer The {@code ZooKeeper} server address to connect.
@param storePath The root path on the {@code ZooKeeper} for account data.
@param backupDir The path to the local backup directory.
@param zkConnectionTimeoutMs The connection timeout in millisecond for connecting {@code ZooKeeper} server.
@param zkSessionTimeoutMs The session timeout in millisecond for connecting {@code ZooKeeper} server.
@return the {@link HelixAccountService}.
ambry-tools/src/main/java/com/github/ambry/account/AccountUpdateTool.java