You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "YONG FENG (JIRA)" <ji...@apache.org> on 2015/08/05 20:24:04 UTC

[jira] [Created] (SLIDER-924) Support YARN ContainerID as Environment Variable for Slider Application Instance

YONG FENG created SLIDER-924:
--------------------------------

             Summary: Support YARN ContainerID as Environment Variable for Slider Application Instance
                 Key: SLIDER-924
                 URL: https://issues.apache.org/jira/browse/SLIDER-924
             Project: Slider
          Issue Type: Improvement
          Components: agent, appmaster
    Affects Versions: Slider 0.80
            Reporter: YONG FENG


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)