GitHub user andrewor14 opened a pull request:

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

    [SPARK-1824] Remove <master> from Python examples

    A recent PR (#552) fixed this for all Scala / Java examples. We need to do 
it for python too.
    
    Note that this blocks on #799, which makes `bin/pyspark` go through Spark 
submit. With only the changes in this PR, the only way to run these examples is 
through Spark submit. Once #799 goes in, you can use `bin/pyspark` to run them 
too. For example,
    
    ```
    bin/pyspark examples/src/main/python/pi.py 100 --master 
local-cluster[4,1,512]
    ```

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

    $ git pull https://github.com/andrewor14/spark python-examples

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

    https://github.com/apache/spark/pull/802.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 #802
    
----
commit d32072c0bd60b1256a1c95bffcd1264bc80a4594
Author: Andrew Or <[email protected]>
Date:   2014-05-16T01:32:37Z

    Remove <master> from examples + update usages

----


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