public static List<InetSocketAddress> getJobMasterEmbeddedJournalAddresses(
      AlluxioConfiguration conf) {
    PropertyKey jobMasterProperty = PropertyKey.JOB_MASTER_EMBEDDED_JOURNAL_ADDRESSES;
    if (conf.isSet(jobMasterProperty)) {
      return parseInetSocketAddresses(conf.getList(jobMasterProperty, ","));
    }
    // Fall back on using the master embedded journal addresses, with the job master port.
    PropertyKey masterProperty = PropertyKey.MASTER_EMBEDDED_JOURNAL_ADDRESSES;
    int jobRaftPort = NetworkAddressUtils.getPort(ServiceType.JOB_MASTER_RAFT, conf);
    if (conf.isSet(masterProperty)) {
      return overridePort(getMasterEmbeddedJournalAddresses(conf), jobRaftPort);
    }
    // Fall back on job_master_hostname:job_master_raft_port.
    return Arrays.asList(NetworkAddressUtils.getConnectAddress(ServiceType.JOB_MASTER_RAFT, conf));
  }
public static List < InetSocketAddress > getJobMasterEmbeddedJournalAddresses ( AlluxioConfiguration conf ) { PropertyKey jobMasterProperty = PropertyKey . JOB_MASTER_EMBEDDED_JOURNAL_ADDRESSES ; if ( conf . isSet ( jobMasterProperty ) ) { return parseInetSocketAddresses ( conf . getList ( jobMasterProperty , "," ) ) ; } PropertyKey masterProperty = PropertyKey . MASTER_EMBEDDED_JOURNAL_ADDRESSES ; int jobRaftPort = NetworkAddressUtils . getPort ( ServiceType . JOB_MASTER_RAFT , conf ) ; if ( conf . isSet ( masterProperty ) ) { return overridePort ( getMasterEmbeddedJournalAddresses ( conf ) , jobRaftPort ) ; } return Arrays . asList ( NetworkAddressUtils . getConnectAddress ( ServiceType . JOB_MASTER_RAFT , conf ) ) ; }
@param conf configuration
@return the embedded journal addresses to use for the job master