Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephiroth-Lin committed Apr 16, 2015
1 parent 51ebb26 commit 309679a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/submitting-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ For Python, you can use the `--py-files` argument of `spark-submit` to add `.py`
files to be distributed with your application. If you depend on multiple Python files we recommend
packaging them into a `.zip` or `.egg`.

As Python can not read files from assembly jar which package by JDK1.7+, so packaging pyspark into a
`.zip`(the name contains "spark-pyspark") and use `--py-files` argument of `spark-submit` to distribute it.

# Launching Applications with spark-submit

Once a user application is bundled, it can be launched using the `bin/spark-submit` script.
Expand Down

0 comments on commit 309679a

Please sign in to comment.