[GitHub] spark issue #12004: [SPARK-7481] [build] Add spark-cloud module to pull in o...

2016-10-07 Thread mtustin-handy
Github user mtustin-handy commented on the issue: https://github.com/apache/spark/pull/12004 I don't see any downsides to this. At present working with s3 isn't super painful, but I do see why one would want support to be better and smoother. --- If your project is set up

[GitHub] spark pull request: [Spark-14686] Allow setting local properties t...

2016-04-21 Thread mtustin-handy
Github user mtustin-handy commented on the pull request: https://github.com/apache/spark/pull/12456#issuecomment-213037791 @jerryshao Makes sense. Would having an explicitly inheritable facility, or a way to switch the spark context into inheritable mode (whatever that design looks

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-02 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r58302077 --- Diff: core/src/main/scala/org/apache/spark/partial/BoundedDouble.scala --- @@ -21,5 +21,23 @@ package org.apache.spark.partial * A Double

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-02 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r58301694 --- Diff: core/src/main/scala/org/apache/spark/partial/BoundedDouble.scala --- @@ -21,5 +21,23 @@ package org.apache.spark.partial * A Double

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-02 Thread mtustin-handy
Github user mtustin-handy commented on the pull request: https://github.com/apache/spark/pull/12016#issuecomment-204781141 The only failure has been failing since this: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54771/. I can pull from master and try

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-01 Thread mtustin-handy
Github user mtustin-handy commented on the pull request: https://github.com/apache/spark/pull/12016#issuecomment-204608558 Jenkins retest this please --- 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

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-01 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r58280956 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,107 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-01 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r58227053 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,117 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-04-01 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r58226959 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,117 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-31 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r58143286 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,117 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-30 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57982008 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-30 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57892280 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -40,30 +41,39 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-30 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57889474 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-29 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57733543 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -40,30 +41,39 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-29 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57732083 --- Diff: core/src/test/scala/org/apache/spark/partial/SumEvaluatorSuite.scala --- @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-29 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57731787 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -40,30 +41,39 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-29 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/12016#discussion_r57726326 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -40,30 +41,39 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-28 Thread mtustin-handy
GitHub user mtustin-handy opened a pull request: https://github.com/apache/spark/pull/12016 [SPARK-14163][CORE] SumEvaluator and countApprox cannot reliably handle RDDs of size 1 ## What changes were proposed in this pull request? This special cases 0 and 1 counts to avoid

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-28 Thread mtustin-handy
Github user mtustin-handy closed the pull request at: https://github.com/apache/spark/pull/11982 --- 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

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-28 Thread mtustin-handy
Github user mtustin-handy commented on the pull request: https://github.com/apache/spark/pull/11982#issuecomment-202611779 @rxin @srowen Looks like github is not showing the correct diff any more. I'm going to close this, reopen and tag you. --- If your project is set up for it, you

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-28 Thread mtustin-handy
Github user mtustin-handy commented on the pull request: https://github.com/apache/spark/pull/11982#issuecomment-202543675 I hit this with `countApprox`. --- 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

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-27 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/11982#discussion_r57529573 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -56,9 +56,12 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-27 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/11982#discussion_r57529558 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -56,9 +56,12 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-27 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/11982#discussion_r57529308 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -56,9 +56,12 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-26 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/11982#discussion_r57521152 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -56,9 +56,12 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-26 Thread mtustin-handy
Github user mtustin-handy commented on a diff in the pull request: https://github.com/apache/spark/pull/11982#discussion_r57521048 --- Diff: core/src/main/scala/org/apache/spark/partial/SumEvaluator.scala --- @@ -56,9 +56,12 @@ private[spark] class SumEvaluator(totalOutputs: Int

[GitHub] spark pull request: [SPARK-14163][CORE] SumEvaluator and countAppr...

2016-03-26 Thread mtustin-handy
GitHub user mtustin-handy opened a pull request: https://github.com/apache/spark/pull/11982 [SPARK-14163][CORE] SumEvaluator and countApprox cannot reliably handle RDDs of size 1 ## What changes were proposed in this pull request? This special cases 0 and 1 counts to avoid