GitHub user lianhuiwang opened a pull request:

    https://github.com/apache/spark/pull/4554

    [SPARK-5759][Yarn]ExecutorRunnable should catch YarnException while 
NMClient start contain...

    some time since some of reasons, it lead to some exception while NMClient 
start container.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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lianhuiwang/spark SPARK-5759

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4554.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4554
    
----
commit c02140f67c8e7d36675b3ec20f27d25e456900be
Author: lianhuiwang <[email protected]>
Date:   2015-02-12T07:11:19Z

    ExecutorRunnable should catch YarnException while NMClient start container

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to