Skip to content

Commit

Permalink
[Spark-5717] [MLlib] add stop and reorganize import
Browse files Browse the repository at this point in the history
Trivial. add sc stop and reorganize import
https://issues.apache.org/jira/browse/SPARK-5717

Author: JqueryFan <[email protected]>
Author: Yuhao Yang <[email protected]>

Closes #4503 from hhbyyh/scstop and squashes the following commits:

7837a2c [JqueryFan] revert import change
2e85cc1 [Yuhao Yang] add stop and reorganize import

(cherry picked from commit 6cc96cf)
Signed-off-by: Sean Owen <[email protected]>
  • Loading branch information
JqueryFan authored and srowen committed Feb 10, 2015
1 parent d6f31e0 commit b32f553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ public Tuple2<Long, Vector> call(Tuple2<Vector, Long> doc_id) {
}
System.out.println();
}
sc.stop();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ object LDAExample {
}
println()
}

sc.stop()
}

/**
Expand Down

0 comments on commit b32f553

Please sign in to comment.