Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
It is observed that registering timeline v2 client with AMRMClient before serviceInit throw exception in AppMaster. This causes AppMaster start up failure.
Caused by: org.apache.hadoop.yarn.exceptions.YarnException: register timeline v2 client when not configured. at org.apache.hadoop.yarn.client.api.AMRMClient.registerTimelineV2Client(AMRMClient.java:708) at org.apache.hadoop.yarn.client.api.async.AMRMClientAsync.registerTimelineV2Client(AMRMClientAsync.java:354)
AMRMClient should not assume that timeline client will be registered only after serviceInit. In composite service model, this will be a issue.