[
https://issues.apache.org/jira/browse/BEAM-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15483440#comment-15483440
]
ASF GitHub Bot commented on BEAM-627:
-------------------------------------
GitHub user amitsela opened a pull request:
https://github.com/apache/incubator-beam/pull/944
[BEAM-627] Set master if not already set.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [ ] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
- [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [ ] If this contribution is large, please file an Apache
[Individual Contributor License
Agreement](https://www.apache.org/licenses/icla.txt).
---
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/amitsela/incubator-beam BEAM-627
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/944.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 #944
----
commit c9610623e41f2352182bb8a359244df226902079
Author: Sela <[email protected]>
Date: 2016-09-12T08:00:34Z
Set master if not already set.
----
> Set Spark master only if not set.
> ---------------------------------
>
> Key: BEAM-627
> URL: https://issues.apache.org/jira/browse/BEAM-627
> Project: Beam
> Issue Type: Bug
> Components: runner-spark
> Reporter: Amit Sela
> Assignee: Amit Sela
>
> Currently, the Spark master is *always* set programatically.
> This is an issue if the master was already set by passing a system property
> (which is what spark-submit basically does).
> Avoiding overrides allows for an application to define a "local" master,
> while overriding it with an external resource manager.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)