We've a streaming application running on yarn and we would like to ensure that is up running 24/7.
Is there a way to tell yarn to automatically restart a specific application on failure?
Have you tried Hadoop Yarn - ResourceManger Restart
Yarn will restart the driver if this fails with the feature “yarn.resourcemanager.am.max-attempts”, and by default it’s 2.
You can specify the max attempt of a specific application using ApplicationSubmissionContext::setMaxAppAttempts Here is the document for this function
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With