Skip to content
Snippets Groups Projects
Commit 351ac523 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Some tweaks to docs

parent 2ae15353
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ We hope to generate documentation with Java-style syntax in the future. ...@@ -189,7 +189,7 @@ We hope to generate documentation with Java-style syntax in the future.
# Where to Go from Here # Where to Go from Here
Spark includes several sample programs using the Java API in Spark includes several sample programs using the Java API in
`examples/src/main/java`. You can run them by passing the class name to the [`examples/src/main/java`](https://github.com/mesos/spark/tree/master/examples/src/main/java/spark/examples). You can run them by passing the class name to the
`run` script included in Spark -- for example, `./run `run` script included in Spark -- for example, `./run
spark.examples.JavaWordCount`. Each example program prints usage help when run spark.examples.JavaWordCount`. Each example program prints usage help when run
without any arguments. without any arguments.
...@@ -109,9 +109,9 @@ Code dependencies can be added to an existing SparkContext using its `addPyFile( ...@@ -109,9 +109,9 @@ Code dependencies can be added to an existing SparkContext using its `addPyFile(
# Where to Go from Here # Where to Go from Here
PySpark includes several sample programs using the Python API in `python/examples`. PySpark includes several sample programs in the [`python/examples` folder](https://github.com/mesos/spark/tree/master/python/examples).
You can run them by passing the files to the `pyspark` script -- for example `./pyspark python/examples/wordcount.py`. You can run them by passing the files to the `pyspark` script -- for example `./pyspark python/examples/wordcount.py`.
Each example program prints usage help when run without any arguments. Each program prints usage help when run without arguments.
We currently provide [API documentation](api/pyspark/index.html) for the Python API as Epydoc. We currently provide [API documentation](api/pyspark/index.html) for the Python API as Epydoc.
Many of the RDD method descriptions contain [doctests](http://docs.python.org/2/library/doctest.html) that provide additional usage examples. Many of the RDD method descriptions contain [doctests](http://docs.python.org/2/library/doctest.html) that provide additional usage examples.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment