spark-instrumented-optimizer/yarn
lianhuiwang 947b8bd82e [SPARK-5759][Yarn]ExecutorRunnable should catch YarnException while NMClient start contain...
some time since some reasons, it lead to some exception while NMClient start some containers.example:we do not config spark_shuffle on some machines, so it will throw a exception:
java.lang.Error: org.apache.hadoop.yarn.exceptions.InvalidAuxServiceException: The auxService:spark_shuffle does not exist.
because YarnAllocator use ThreadPoolExecutor to start Container, so we can not find which container or hostname throw exception. I think we should catch YarnException in ExecutorRunnable when start container. if there are some exceptions, we can know the container id or hostname of failed container.

Author: lianhuiwang <lianhuiwang09@gmail.com>

Closes #4554 from lianhuiwang/SPARK-5759 and squashes the following commits:

caf5a99 [lianhuiwang] use SparkException to warp exception
c02140f [lianhuiwang] ExecutorRunnable should catch YarnException while NMClient start container
2015-02-12 14:51:06 -08:00
..
src [SPARK-5759][Yarn]ExecutorRunnable should catch YarnException while NMClient start contain... 2015-02-12 14:51:06 -08:00
pom.xml SPARK-3996: Add jetty servlet and continuations. 2015-02-02 21:01:36 -08:00