You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2015/02/10 18:37:37 UTC
spark git commit: [Spark-5717] [MLlib] add stop and reorganize import
Repository: spark
Updated Branches:
refs/heads/master 50820f152 -> 6cc96cf0c
[Spark-5717] [MLlib] add stop and reorganize import
Trivial. add sc stop and reorganize import
https://issues.apache.org/jira/browse/SPARK-5717
Author: JqueryFan <fi...@126.com>
Author: Yuhao Yang <hh...@gmail.com>
Closes #4503 from hhbyyh/scstop and squashes the following commits:
7837a2c [JqueryFan] revert import change
2e85cc1 [Yuhao Yang] add stop and reorganize import
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6cc96cf0
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6cc96cf0
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6cc96cf0
Branch: refs/heads/master
Commit: 6cc96cf0c3ea87ab65d42a59725959d94701577b
Parents: 50820f1
Author: JqueryFan <fi...@126.com>
Authored: Tue Feb 10 17:37:32 2015 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Tue Feb 10 17:37:32 2015 +0000
----------------------------------------------------------------------
.../main/java/org/apache/spark/examples/mllib/JavaLDAExample.java | 1 +
.../main/scala/org/apache/spark/examples/mllib/LDAExample.scala | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/6cc96cf0/examples/src/main/java/org/apache/spark/examples/mllib/JavaLDAExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/spark/examples/mllib/JavaLDAExample.java b/examples/src/main/java/org/apache/spark/examples/mllib/JavaLDAExample.java
index f394ff2..36207ae 100644
--- a/examples/src/main/java/org/apache/spark/examples/mllib/JavaLDAExample.java
+++ b/examples/src/main/java/org/apache/spark/examples/mllib/JavaLDAExample.java
@@ -71,5 +71,6 @@ public class JavaLDAExample {
}
System.out.println();
}
+ sc.stop();
}
}
http://git-wip-us.apache.org/repos/asf/spark/blob/6cc96cf0/examples/src/main/scala/org/apache/spark/examples/mllib/LDAExample.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/spark/examples/mllib/LDAExample.scala b/examples/src/main/scala/org/apache/spark/examples/mllib/LDAExample.scala
index 0e1b27a..11399a7 100644
--- a/examples/src/main/scala/org/apache/spark/examples/mllib/LDAExample.scala
+++ b/examples/src/main/scala/org/apache/spark/examples/mllib/LDAExample.scala
@@ -159,7 +159,7 @@ object LDAExample {
}
println()
}
-
+ sc.stop()
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org