Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/704#discussion_r12463962
  
    --- Diff: README.md ---
    @@ -39,17 +39,22 @@ And run the following command, which should also return 
1000:
     ## Example Programs
     
     Spark also comes with several sample programs in the `examples` directory.
    -To run one of them, use `./bin/run-example <class> <params>`. For example:
    +To run one of them, use `./bin/run-example <class> [<params>]`. For 
example:
     
    -    ./bin/run-example org.apache.spark.examples.SparkLR local[2]
    +    ./bin/run-example org.apache.spark.examples.SparkLR
     
    -will run the Logistic Regression example locally on 2 CPUs.
    +will run the Logistic Regression example locally.
     
    -Each of the example programs prints usage help if no params are given.
    +You can set the MASTER environment variable when running examples to submit
    +examples to a cluster. This can be a mesos:// or spark:// URL, 
    +"yarn-cluster" or "yarn-client" to run on YARN, and "local" to run 
    +locally with one thread, or "local[N]" to run locally with N thread. You 
    --- End diff --
    
    N threads


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