Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9802 YARN Timeline Service v2 (post GA features)
  3. YARN-3488

AM get timeline service info from RM rather than Application specific configuration.

Add voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • applications
    • None

    Description

      Since v1 timeline service, we have MR configuration to enable/disable putting history event to timeline service. For today's v2 timeline service ongoing effort, currently we have different methods/structures between v1 and v2 for consuming TimelineClient, so application have to be aware of which version timeline service get used there.
      There are basically two options here:
      First option is as current way in DistributedShell or MR to let application has specific configuration to point out that if enabling ATS and which version could be, like: MRJobConfig.MAPREDUCE_JOB_EMIT_TIMELINE_DATA, etc.
      The other option is to let application to figure out timeline related info from YARN/RM, it can be done through registerApplicationMaster() in ApplicationMasterProtocol with return value for service "off", "v1_on", or "v2_on".
      We prefer the latter option because application owner doesn't have to aware RM/YARN infrastructure details. Please note that we should keep compatible (consistent behavior with the same setting) with released configurations.

      Attachments

        1. YARN-3488.001.patch
          17 kB
          Abhishek Modi
        2. YARN-3488.002.patch
          17 kB
          Abhishek Modi
        3. YARN-3488.003.patch
          18 kB
          Abhishek Modi
        4. YARN-3488.004.patch
          18 kB
          Abhishek Modi

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            abmodi Abhishek Modi
            junping_du Junping Du

            Dates

              Created:
              Updated:

              Slack

                Issue deployment