GitHub user lins05 opened a pull request:

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

    [SPARK-18652] Include the data in pyspark package.

    ## What changes were proposed in this pull request?
    
    Since we already include the python examples in the pyspark package, we 
should include the example data with it as well.
    
    ## How was this patch tested?
    
    Manually tested
    ```sh
    $ ./build/mvn -DskipTests -Phive -Phive-thriftserver -Pyarn -Pmesos clean 
package
    $ cd python
    $ python setup.py sdist
    $ pip install  dist/pyspark-2.1.0.dev0.tar.gz 
    $ ls -1 /usr/local/lib/python2.7/dist-packages/pyspark/data/
    graphx
    mllib
    streaming
    $ du -sh /usr/local/lib/python2.7/dist-packages/pyspark/data/
    600K    /usr/local/lib/python2.7/dist-packages/pyspark/data/
    ```


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

    $ git pull https://github.com/lins05/spark include-data-in-pyspark-dist

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

    https://github.com/apache/spark/pull/16082.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 #16082
    
----
commit 43019db973eac2e89f77bfdbd5d15fdea3a3050a
Author: Shuai Lin <linshuai2...@gmail.com>
Date:   2016-11-30T17:09:24Z

    [SPARK-18652] Include the data in pyspark package.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to