[
https://issues.apache.org/jira/browse/YARN-4205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15459472#comment-15459472
]
Vinod Kumar Vavilapalli commented on YARN-4205:
-----------------------------------------------
This looks good in general.
As discussed on the parent JIRA YARN-3813
- [~sunilg] said
bq. 1. we are starting the monitor thread always regardless whether application
demands for applicationtimeout or not. I feel we can have a configuration to
enable this feature in RM level. Thoughts?
- And [~nijel] said
bq. this service will consider only apps which are configured with a timeout.
So leaving as a default service.
I agree with this above sentiment - we don't need another configuration
application.lifetimeout-monitor.interval-ms.
The other important question is about when the clock start ticking for the
life-time. Clearly if we start it when the app gets submitted, we'd
automatically also handle YARN-2266. But some apps will need to distinguish
{{queue_timeout}} from {{execution_lifetime}}. Can we distinguish those?
Obviously one of the followup challenges is to clearly define where queuing
starts/ends & execution starts/ends.
Clearly {{queue_timeout}} should definitely not account time that YARN spends
in things like persisting to state-store etc.
> Add a service for monitoring application life time out
> ------------------------------------------------------
>
> Key: YARN-4205
> URL: https://issues.apache.org/jira/browse/YARN-4205
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: scheduler
> Reporter: nijel
> Assignee: Rohith Sharma K S
> Attachments: 0001-YARN-4205.patch, YARN-4205_01.patch,
> YARN-4205_02.patch, YARN-4205_03.patch
>
>
> This JIRA intend to provide a lifetime monitor service.
> The service will monitor the applications where the life time is configured.
> If the application is running beyond the lifetime, it will be killed.
> The lifetime will be considered from the submit time.
> The thread monitoring interval is configurable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]