Skip to content

Commit 766737a

Browse files
authored
Merge pull request apache#82 from mesosphere/python-docs
--py-files documentation
2 parents b066d21 + aac6b6e commit 766737a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/user-docs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -515,19 +515,19 @@ more][13].
515515

516516
Or, for a Python job
517517

518-
$ dcos spark run --submit-args="http://external.website/mysparkapp.py 30"
518+
$ dcos spark run --submit-args="--py-files mydependency.py http://external.website/mysparkapp.py 30"
519519

520-
`dcos spark run` is a thin wrapper around the standard Spark
520+
`dcos spark run` is a thin wrapper around the standard Spark
521521
`spark-submit` script. You can submit arbitrary pass-through options
522522
to this script via the `--submit-args` options.
523523

524-
The first time you run a job, the CLI must download the Spark
524+
The first time you run a job, the CLI must download the Spark
525525
distribution to your local machine. This may take a while.
526526

527-
If your job runs successfully, you will get a message with the
527+
If your job runs successfully, you will get a message with the
528528
job’s submission ID:
529529

530-
Run job succeeded. Submission id: driver-20160126183319-0001
530+
Run job succeeded. Submission id: driver-20160126183319-0001
531531

532532
1. View the Spark scheduler progress by navigating to the Spark
533533
dispatcher at `http://<dcos-url>/service/spark/`

0 commit comments

Comments
 (0)