GitHub user scwf opened a pull request:

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

    [SPARK-2608] fix executor backend launch commond over mesos mode

    mesos scheduler backend use spark-class/spark-executor to launch executor 
backend, this will lead to problems:
    1 when set spark.executor.extraJavaOptions CoarseMesosSchedulerBackend will 
throw errors because of the launch command "./bin/spark-class 
org.apache.spark.executor.CoarseGrainedExecutorBackend %s %s %s %s 
%d").format(basename, extraOpts, driverUrl, 
offer.getSlaveId.getValue,offer.getHostname, numCores))
    
    2 spark.executor.extraJavaOptions and spark.executor.extraLibraryPath set 
in sparkconf will not be valid

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

    $ git pull https://github.com/scwf/spark mesosfix

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

    https://github.com/apache/spark/pull/1513.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 #1513
    
----
commit 5b150a481a1ddb3dee4e94e14e737f2d20313f5c
Author: scwf <wangfei1.huawei.com>
Date:   2014-07-21T15:23:59Z

    fix executor backend launch commond over mesos mode

commit fdc3cb1efa931780f652dcb4d2cda0304ca50710
Author: scwf <wangfei1.huawei.com>
Date:   2014-07-21T15:32:09Z

    fix code format

----


---
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.
---

Reply via email to