Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5355 YARN Timeline Service v.2: alpha 2
  3. YARN-6030

Eliminate timelineServiceV2 boolean flag in TimelineClientImpl

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: YARN-5355
    • Fix Version/s: None
    • Component/s: timelineserver
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gtcarrera9 Li Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: