Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-924

Support YARN ContainerID as Environment Variable for Slider Application Instance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • Slider 0.80
    • None
    • agent, appmaster
    • None

    Description

      When using Slider to manage long running service and Metric2 sink to collect metrics of those long running service, user could use metrics attributes of AppName, ComponentName and HostName to associate a metric record to an service instance.

      It works well if there is only one instance in each host. However if multiple instances of the service are running in the same host, the tuple of (AppName, ComponentName, Hostname) is not enough to identify an service instance uniquely.

      If Slider supports YARN ContainerID as Environment Variable for Slider Application Instance just like COMPONENT_NAME, user could configure CONTAINER_ID as configuration parameter for Metric2 sink. In that way, the metrics attribute of ContainerID could be used to associate a metric record to an service instance uniquely.

      Attachments

        Activity

          People

            Unassigned Unassigned
            luckyfengyong YONG FENG
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: