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

    https://github.com/apache/spark/pull/11530#discussion_r55117995
  
    --- Diff: 
examples/src/main/java/org/apache/spark/examples/mllib/JavaGaussianMixtureExample.java
 ---
    @@ -44,8 +44,9 @@ public static void main(String[] args) {
             public Vector call(String s) {
               String[] sarray = s.trim().split(" ");
               double[] values = new double[sarray.length];
    -          for (int i = 0; i < sarray.length; i++)
    +          for (int i = 0; i < sarray.length; i++) {
    --- End diff --
    
    This is fine, but it wasn't the analysis problem. A lot of the examples 
don't `stop()` the context at the end, and this was one of about 30.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to