[ 
https://issues.apache.org/jira/browse/YARN-8032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411724#comment-16411724
 ] 

Eric Yang commented on YARN-8032:
---------------------------------

[~csingh] I added a debug statement to see the value is being set by 
AbstractLauncher class, and it shows up as:

{code}
2018-03-23 16:54:50,855 [pool-6-thread-2] INFO  
containerlaunch.AbstractLauncher - failure validity interval -1
{code}

Instead of 30 seconds that I passed from CLI.

For passing properties from CLI or REST to backend.  The settings needs to be 
forwarded from hadoop-yarn-service-api project ApiServer.java to 
hadoop-yarn-service-core project's ServiceClient.java.  {{updateLifetime}} is 
an example to forwarding the setting to YARN.  submitApp method in 
ServiceClient contains example of passing the parameter to submissionContext.  
You might need to add logic in submitApp method to bridge the gap.

> Yarn service should expose failuresValidityInterval to users and use it for 
> launching containers
> ------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8032
>                 URL: https://issues.apache.org/jira/browse/YARN-8032
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>            Priority: Major
>         Attachments: YARN-8032.001.patch, YARN-8032.002.patch, 
> YARN-8032.003.patch
>
>
> With YARN-5015 the support for sliding window retry policy was added. Yarn 
> service should expose it via the api for the users to take advantage of it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to