[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-15 Thread scwf
GitHub user scwf opened a pull request: https://github.com/apache/spark/pull/714 【SPARK-1779】add warning when memoryFraction is not between 0 and 1 You can merge this pull request into a Git repository by running: $ git pull https://github.com/scwf/spark memoryFraction

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-15 Thread scwf
Github user scwf commented on a diff in the pull request: https://github.com/apache/spark/pull/714#discussion_r12501550 --- Diff: core/src/main/scala/org/apache/spark/util/collection/ExternalAppendOnlyMap.scala --- @@ -76,6 +76,16 @@ class ExternalAppendOnlyMap[K, V, C](

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-15 Thread andrewor14
Github user andrewor14 commented on the pull request: https://github.com/apache/spark/pull/714#issuecomment-42682542 We should probably throw an exception, actually. It's a pathological state if the max memory is negative, or greater than what the JVM offers. --- If your project is

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-14 Thread andrewor14
Github user andrewor14 commented on the pull request: https://github.com/apache/spark/pull/714#issuecomment-42682658 Could you also do that in `ExternalAppendOnlyMap`? There are two similar configs there. --- If your project is set up for it, you can reply to this email and have

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-14 Thread andrewor14
Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/714#discussion_r12484999 --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala --- @@ -1045,6 +1045,9 @@ private[spark] object BlockManager extends Logging {

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-14 Thread andrewor14
Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/714#discussion_r12484987 --- Diff: core/src/main/scala/org/apache/spark/util/collection/ExternalAppendOnlyMap.scala --- @@ -76,6 +76,16 @@ class ExternalAppendOnlyMap[K, V, C](

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-12 Thread andrewor14
Github user andrewor14 commented on the pull request: https://github.com/apache/spark/pull/714#issuecomment-42729062 Thanks, this looks good. --- 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

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-10 Thread witgo
Github user witgo commented on the pull request: https://github.com/apache/spark/pull/714#issuecomment-42729492 【SPARK-1779】 = [SPARK-1779] --- 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

[GitHub] spark pull request: 【SPARK-1779】add warning when memoryFractio...

2014-05-10 Thread andrewor14
Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/714#discussion_r12484965 --- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala --- @@ -1045,6 +1045,9 @@ private[spark] object BlockManager extends Logging {