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

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • YARN-5355
    • None
    • timelineserver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: