Are you running the job in yarn cluster mode? On Oct 1, 2015 6:30 AM, "Jeetendra Gangele" <gangele...@gmail.com> wrote:
> 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? > > There is property yarn.resourcemanager.am.max-attempts which is default > set to 2 setting it to bigger value is the solution? Also I did observed > this does not seems to work my application is failing and not starting > automatically. > > Mesos has this build in support wondering why yarn is lacking here? > > > > Regards > > jeetendra >