Repository: spark Updated Branches: refs/heads/branch-1.1 c4b7ec8dd -> b0facb590
[SPARK-3296][mllib] spark-example should be run-example in head notation of DenseKMeans and SparseNaiveBayes `./bin/spark-example` should be `./bin/run-example` in DenseKMeans and SparseNaiveBayes Author: wangfei <wangfei_he...@126.com> Closes #2193 from scwf/run-example and squashes the following commits: 207eb3a [wangfei] spark-example should be run-example 27a8999 [wangfei] ./bin/spark-example should be ./bin/run-example (cherry picked from commit 13901764f4e9ed3de03e420d88ab42bdce5d5140) Signed-off-by: Xiangrui Meng <m...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/b0facb59 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/b0facb59 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/b0facb59 Branch: refs/heads/branch-1.1 Commit: b0facb590eac032f82cea35982c3ed335f2ebbf4 Parents: c4b7ec8 Author: wangfei <wangfei_he...@126.com> Authored: Fri Aug 29 17:37:15 2014 -0700 Committer: Xiangrui Meng <m...@databricks.com> Committed: Fri Aug 29 17:37:36 2014 -0700 ---------------------------------------------------------------------- .../main/scala/org/apache/spark/examples/mllib/DenseKMeans.scala | 2 +- .../scala/org/apache/spark/examples/mllib/SparseNaiveBayes.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/b0facb59/examples/src/main/scala/org/apache/spark/examples/mllib/DenseKMeans.scala ---------------------------------------------------------------------- diff --git a/examples/src/main/scala/org/apache/spark/examples/mllib/DenseKMeans.scala b/examples/src/main/scala/org/apache/spark/examples/mllib/DenseKMeans.scala index f96bc1b..89dfa26 100644 --- a/examples/src/main/scala/org/apache/spark/examples/mllib/DenseKMeans.scala +++ b/examples/src/main/scala/org/apache/spark/examples/mllib/DenseKMeans.scala @@ -27,7 +27,7 @@ import org.apache.spark.mllib.linalg.Vectors /** * An example k-means app. Run with * {{{ - * ./bin/spark-example org.apache.spark.examples.mllib.DenseKMeans [options] <input> + * ./bin/run-example org.apache.spark.examples.mllib.DenseKMeans [options] <input> * }}} * If you use it as a template to create your own app, please use `spark-submit` to submit your app. */ http://git-wip-us.apache.org/repos/asf/spark/blob/b0facb59/examples/src/main/scala/org/apache/spark/examples/mllib/SparseNaiveBayes.scala ---------------------------------------------------------------------- diff --git a/examples/src/main/scala/org/apache/spark/examples/mllib/SparseNaiveBayes.scala b/examples/src/main/scala/org/apache/spark/examples/mllib/SparseNaiveBayes.scala index 88acd9d..952fa2a 100644 --- a/examples/src/main/scala/org/apache/spark/examples/mllib/SparseNaiveBayes.scala +++ b/examples/src/main/scala/org/apache/spark/examples/mllib/SparseNaiveBayes.scala @@ -27,7 +27,7 @@ import org.apache.spark.mllib.util.MLUtils /** * An example naive Bayes app. Run with * {{{ - * ./bin/spark-example org.apache.spark.examples.mllib.SparseNaiveBayes [options] <input> + * ./bin/run-example org.apache.spark.examples.mllib.SparseNaiveBayes [options] <input> * }}} * If you use it as a template to create your own app, please use `spark-submit` to submit your app. */ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org