TODO: after MAPREDUCE-2793 YarnException is probably not expected here
anymore but keeping it for now just in case other stuff starts failing.
Also, the webservice should ideally return BadRequest (HTTP:400) when
the id is malformed instead of NotFound (HTTP:404). The webserver on
top of which AMWebServices is built seems to automatically do that for
unhandled exceptions