Support Questions

Find answers, ask questions, and share your expertise

timeout job pending on yarn

Super Collaborator


please, are there any parameter on yarn, that kill the pending or accepted jobs that are too many time on this state?

I dont want to use it "yarn application -list -appStates ACCEPTED", i want to set an atribute for config on HDP




@Roberto Sancho , currently yarn does not have feature to time out the application. YARN-3813 is apache jira tracking this feature.

For now. you will need to write a long running script, which can monitor each application's state and kill if it stays in accepted state for long time.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.