Class CollectorInfo
java.lang.Object
org.apache.hadoop.yarn.api.records.CollectorInfo
Collector info containing collector address and collector token passed from
RM to AM in Allocate Response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringabstract TokenGet delegation token for app collector which AM will use to publish entities.static CollectorInfonewInstance(String collectorAddr) static CollectorInfonewInstance(String collectorAddr, Token token) abstract voidsetCollectorAddr(String addr) abstract voidsetCollectorToken(Token token)
-
Field Details
-
DEFAULT_TIMESTAMP_VALUE
protected static final long DEFAULT_TIMESTAMP_VALUE- See Also:
-
-
Constructor Details
-
CollectorInfo
public CollectorInfo()
-
-
Method Details
-
newInstance
-
newInstance
-
getCollectorAddr
-
setCollectorAddr
-
getCollectorToken
Get delegation token for app collector which AM will use to publish entities.- Returns:
- the delegation token for app collector.
-
setCollectorToken
-