Github user dragos commented on the pull request:

    https://github.com/apache/spark/pull/4984#issuecomment-101344959
  
    I tested this on a 3-node Mesos cluster (as before) and everything looked 
fine:
    
    spark-defaults.conf:
    
    ```
    spark.mesos.coarse                          true
    spark.shuffle.service.enabled       true
    
    spark.dynamicAllocation.enabled                             true
    spark.dynamicAllocation.minExecutors                        1
    spark.dynamicAllocation.maxExecutors                        3
    spark.dynamicAllocation.executorIdleTimeout         15
    ```
    
    
    in spark-shell:
    ```
    val rdd = sc.parallelize(1 to 10000000, 500)
    
    val rdd1 = rdd.zipWithIndex.groupBy(_._1 / 100)
    
    rdd1.cache()
    
    rdd1.collect()
    ```



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to