List of usage examples for org.apache.hadoop.yarn.api.records.timeline TimelineDomain getOwner
@XmlElement(name = "owner") public String getOwner()
From source file:org.apache.tez.dag.history.ats.acls.TestATSHistoryWithACLs.java
License:Apache License
private TimelineDomain getDomain(String domainId) { assertNotNull(timelineAddress);/*w ww . j ava 2 s .com*/ String url = "http://" + timelineAddress + "/ws/v1/timeline/domain/" + domainId; LOG.info("Getting timeline domain: " + url); TimelineDomain domain = getTimelineData(url, TimelineDomain.class); assertNotNull(domain); assertNotNull(domain.getOwner()); assertNotNull(domain.getReaders()); assertNotNull(domain.getWriters()); LOG.info("TimelineDomain for id " + domainId + ", owner=" + domain.getOwner() + ", readers=" + domain.getReaders() + ", writers=" + domain.getWriters()); return domain; }