Li Lu created YARN-6030:
---------------------------
Summary: Eliminate timelineServiceV2 boolean flag in
TimelineClientImpl
Key: YARN-6030
URL: https://issues.apache.org/jira/browse/YARN-6030
Project: Hadoop YARN
Issue Type: Sub-task
Affects Versions: YARN-5355
Reporter: Li Lu
Priority: Minor
I just discovered that we're still using a boolean flag {{timelineServiceV2}}
after we introduced {{timelineServiceVersion}}. This sounds a little bit
error-pruning. After the discussion I think we should only use and trust
{{timelineServiceVersion}}. {{timelineServiceV2}} is set upon client creation.
Instead of creating a v2 client and set this flag, maybe we'd like to do some
sanity check and make sure the creation call is consistent with the
configuration?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]