You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2017/02/25 00:12:44 UTC

[jira] [Resolved] (YARN-6030) Eliminate timelineServiceV2 boolean flag in TimelineClientImpl

     [ https://issues.apache.org/jira/browse/YARN-6030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haibo Chen resolved YARN-6030.
------------------------------
    Resolution: Not A Problem

> 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
>          Components: timelineserver
>    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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org