[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27969371 --- Diff: core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala --- @@ -40,98 +37,127 @@ import org.apache.spark.util.{ActorLogReceive, Utils

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27969584 --- Diff: core/src/main/scala/org/apache/spark/deploy/Client.scala --- @@ -17,33 +17,38 @@ package org.apache.spark.deploy -import

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27969874 --- Diff: core/src/main/scala/org/apache/spark/deploy/Client.scala --- @@ -17,33 +17,38 @@ package org.apache.spark.deploy -import

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27969603 --- Diff: core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala --- @@ -21,48 +21,50 @@ import java.io.File import java.io.IOException

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27969598 --- Diff: core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala --- @@ -40,98 +37,127 @@ import org.apache.spark.util.{ActorLogReceive, Utils

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27968633 --- Diff: core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala --- @@ -40,98 +37,127 @@ import org.apache.spark.util.{ActorLogReceive, Utils

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5392#discussion_r27970134 --- Diff: core/src/main/scala/org/apache/spark/deploy/Client.scala --- @@ -79,22 +84,36 @@ private class ClientActor(driverArgs: ClientArguments, conf

[GitHub] spark pull request: [SPARK-6602][Core] Update Master, Worker, Clie...

2015-04-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5392#issuecomment-90920884 I used the following codes to handle errors for the new codes in `Client` but kept the old codes untouched. ``` logError(e.getMessage, e) System.exit

[GitHub] spark pull request: [SPARK-6796][Streaming][WebUI] Add Active Bat...

2015-04-10 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5434#issuecomment-91724400 Rebased on master. --- 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-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5414#discussion_r28048694 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/ui/StreamingJobProgressListenerSuite.scala --- @@ -0,0 +1,140 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5414#discussion_r28041716 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala --- @@ -135,9 +136,13 @@ class JobScheduler(val ssc

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5414#issuecomment-91172852 Added some tests to StreamingListenerSuite for this issue, and added StreamingJobProgressListenerSuite for some basic tests of StreamingJobProgressListener

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5414#discussion_r28048643 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/StreamingListenerSuite.scala --- @@ -88,6 +88,58 @@ class StreamingListenerSuite extends

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5414#issuecomment-91144827 Could you add a StreamingJobProgressListenerSuite ? OK. I will add some basic tests for StreamingJobProgressListener --- If your project is set up for it, you

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5414#discussion_r28047175 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobScheduler.scala --- @@ -135,9 +136,13 @@ class JobScheduler(val ssc

[GitHub] spark pull request: [SPARK-6796][Streaming][WebUI] Add Active Bat...

2015-04-09 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5434#issuecomment-91246879 I added some tests to verify the title titles and column names. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5414#discussion_r28048687 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/StreamingListenerSuite.scala --- @@ -88,6 +88,58 @@ class StreamingListenerSuite extends

[GitHub] spark pull request: [SPARK-6796][Streaming][WebUI] Add Active Bat...

2015-04-08 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/5434 [SPARK-6796][Streaming][WebUI] Add Active Batches and Completed Batches lists to StreamingPage This PR adds two lists, `Active Batches` and `Completed Batches`. Here is the screenshot

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5414#issuecomment-91214133 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 not have

[GitHub] spark pull request: [SPARK-6766][Streaming] Fix issue about Stream...

2015-04-09 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/5414#discussion_r28048619 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/ui/StreamingJobProgressListenerSuite.scala --- @@ -0,0 +1,140 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-6796][Streaming][WebUI] Add Active Bat...

2015-04-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5434#issuecomment-91113024 cc @tdas and @JoshRosen --- 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-7251] Perform sequential scan when iter...

2015-05-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6159#issuecomment-103699139 LGTM --- 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

[GitHub] spark pull request: [SPARK-7698] [WIP] Cache and reuse buffers in ...

2015-05-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6227#issuecomment-103710448 @JoshRosen why not round up `size` to a power of 2? I think it's more possible to reuse the objects. --- If your project is set up for it, you can reply to this email

[GitHub] spark pull request: [SPARK-7698] Cache and reuse buffers in Execut...

2015-05-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6227#issuecomment-103715302 LGTM --- 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

[GitHub] spark pull request: [SPARK-7698] [WIP] Cache and reuse buffers in ...

2015-05-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6227#issuecomment-103711056 +1. WeakReferences is better for cache usage. --- 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

[GitHub] spark pull request: [SPARK-7698] [WIP] Cache and reuse buffers in ...

2015-05-19 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6227#discussion_r30663882 --- Diff: unsafe/src/main/java/org/apache/spark/unsafe/memory/ExecutorMemoryManager.java --- @@ -44,15 +56,56 @@ public ExecutorMemoryManager

[GitHub] spark pull request: [SPARK-7698] [WIP] Cache and reuse buffers in ...

2015-05-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6227#issuecomment-103712538 I see. LGTM --- 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

[GitHub] spark pull request: [SPARK-7704] Updating Programming Guides per S...

2015-05-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6234#issuecomment-103598095 LGTM except the minor comment. But I think @srowen will handle it. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-6983][Streaming] Update ReceiverTracker...

2015-04-19 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/5557#issuecomment-94291451 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 not have

[GitHub] spark pull request: [SPARK-7767] [STREAMING] Added test for checkp...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6292#issuecomment-104045848 LGTM --- 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

[GitHub] spark pull request: [SPARK-5681][Streaming] Use a lock to eliminat...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6294#issuecomment-104036466 Do you need explicit locking? Wouldn't synchronized start, register, stop etc be enough? Using `this` will block the `registerReceiver` method when stopping

[GitHub] spark pull request: Pr4467

2015-05-20 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6294 Pr4467 You can merge this pull request into a Git repository by running: $ git pull https://github.com/zsxwing/spark pr4467 Alternatively you can review and apply these changes as the patch

[GitHub] spark pull request: [SPARK-5681][Streaming] Use a lock to eliminat...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6294#issuecomment-104033650 @viirya could you take a look? cc @tdas --- 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

[GitHub] spark pull request: [SPARK-7767] [STREAMING] Added test for checkp...

2015-05-20 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6292#discussion_r30750140 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/StreamingContextSuite.scala --- @@ -132,6 +132,24 @@ class StreamingContextSuite extends

[GitHub] spark pull request: [SPARK-7777][Streaming] Fix the flaky test in ...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6306#issuecomment-104085988 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 not have

[GitHub] spark pull request: [SPARK-7776] [STREAMING] Added shutdown hook t...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6307#issuecomment-104085750 LGTM --- 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

[GitHub] spark pull request: [SPARK-7777][Streaming] Fix the flaky test in ...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6306#issuecomment-104084547 Cannot reproduce it... Just some guess --- 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-7777][Streaming] Fix the flaky test in ...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6306#issuecomment-104082725 cc @tdas --- 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

[GitHub] spark pull request: [SPARK-7777][Streaming] Fix the flaky test in ...

2015-05-20 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6306 [SPARK-][Streaming] Fix the flaky test in org.apache.spark.streaming.BasicOperationsSuite Just added a guard to make sure a batch has completed before moving to the next batch. You can merge

[GitHub] spark pull request: [SPARK-7776] [STREAMING] Added shutdown hook t...

2015-05-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6307#issuecomment-104112034 @tdas as per javadoc: https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread) Shutdown hooks should also finish

[GitHub] spark pull request: [SPARK-8112][Streaming]Fix the negative event ...

2015-06-04 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6659 [SPARK-8112][Streaming]Fix the negative event count issue You can merge this pull request into a Git repository by running: $ git pull https://github.com/zsxwing/spark SPARK-8112

[GitHub] spark pull request: [MINOR] remove unused interpolation var in log...

2015-06-05 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6650#issuecomment-109172890 LGTM --- 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

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-07 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6614#issuecomment-109766689 @dibbhatt could you resolve the conflicts again? Thank you. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6707#discussion_r31934707 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceivedBlockHandler.scala --- @@ -64,11 +68,17 @@ private[streaming] class

[GitHub] spark pull request: [SPARK-7786][STREAMING] Allow StreamingListene...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6380#discussion_r31975251 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala --- @@ -527,6 +529,54 @@ class StreamingContext private[streaming

[GitHub] spark pull request: [SPARK-7786][STREAMING] Allow StreamingListene...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6380#discussion_r31975006 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala --- @@ -527,6 +529,54 @@ class StreamingContext private[streaming

[GitHub] spark pull request: [SPARK-7786][STREAMING] Allow StreamingListene...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6380#discussion_r31975035 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala --- @@ -527,6 +529,54 @@ class StreamingContext private[streaming

[GitHub] spark pull request: [SPARK-7786][STREAMING] Allow StreamingListene...

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6380#issuecomment-110187199 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 not have

[GitHub] spark pull request: [SPARK-8162] [HOTFIX] Fix NPE in spark-shell

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6711#issuecomment-110187377 LGTM --- 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

[GitHub] spark pull request: [SPARK-4072][Core][WIP]Display Streaming block...

2015-06-05 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6672#issuecomment-109330852 cc @tdas --- 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

[GitHub] spark pull request: [SPARK-4072][Core][WIP]Display Streaming block...

2015-06-05 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6672 [SPARK-4072][Core][WIP]Display Streaming blocks in Streaming UI Replace #6634 This PR adds `SparkListenerBlockUpdated` to SparkListener so that it can monitor all block update infos

[GitHub] spark pull request: [SPARK-4072][Streaming][WebUI]Display Streamin...

2015-06-05 Thread zsxwing
Github user zsxwing closed the pull request at: https://github.com/apache/spark/pull/6634 --- 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

[GitHub] spark pull request: [SPARK-4072][Core][WIP]Display Streaming block...

2015-06-05 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6672#discussion_r31860010 --- Diff: core/src/main/scala/org/apache/spark/storage/BlockStatusListener.scala --- @@ -0,0 +1,125 @@ +/* + * Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-4072][Core][WIP]Display Streaming block...

2015-06-06 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6672#issuecomment-109586172 New screenshot ![screen shot 2015-06-06 at 10 30 12 pm](https://cloud.githubusercontent.com/assets/1000778/8020011/229e6c7a-0c9c-11e5-9dc7-63b9747c23b4.png

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-07 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6614#issuecomment-109849269 @dibbhatt did you modify any commit by accident, or is it a GitHub bug? There are 219 files changed and it still contains conflicts. --- If your project is set up

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6614#issuecomment-109875293 I've no idea why it's screwed up. Feel free to open a new one. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] spark pull request: [SPARK-8057][Core]Call TaskAttemptContext.getT...

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6599#issuecomment-109918665 @zsxwing is that import renaming needed? No. Just removed it. Do we have any additional info on whether this is really the only thing stopping

[GitHub] spark pull request: [SPARK-8161] Set externalBlockStoreInitialized...

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6702#issuecomment-110014219 Good catch. LGTM --- 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-4072][Core][WIP]Display Streaming block...

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6672#issuecomment-110013174 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 not have

[GitHub] spark pull request: [SPARK-8057][Core]Call TaskAttemptContext.getT...

2015-06-08 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6599#issuecomment-110013279 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 not have

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6707#discussion_r31927001 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceivedBlockHandler.scala --- @@ -199,3 +222,16 @@ private[streaming] object

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6707#discussion_r31926597 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceivedBlockHandler.scala --- @@ -64,11 +68,17 @@ private[streaming] class

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6707#discussion_r31926944 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/receiver/ReceivedBlockHandler.scala --- @@ -151,12 +165,18 @@ private[streaming] class

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6707#discussion_r31927599 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala --- @@ -174,6 +187,172 @@ class ReceivedBlockHandlerSuite

[GitHub] spark pull request: [SPARK-8080][STREAMING] Receiver.store with It...

2015-06-08 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6707#discussion_r31928282 --- Diff: streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockHandlerSuite.scala --- @@ -61,7 +60,21 @@ class ReceivedBlockHandlerSuite

[GitHub] spark pull request: [SPARK-8057][Core]Call TaskAttemptContext.getT...

2015-06-02 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6599 [SPARK-8057][Core]Call TaskAttemptContext.getTaskAttemptID using Reflection Someone may use the Spark core jar in the maven repo with hadoop 1. SPARK-2075 has already resolved the compatibility

[GitHub] spark pull request: [SPARK-8057][Core]Call TaskAttemptContext.getT...

2015-06-02 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6599#issuecomment-108139706 @pwendell should we get this one into Spark 1.4? --- 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

[GitHub] spark pull request: [SPARK-8057][Core]Call TaskAttemptContext.getT...

2015-06-02 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6599#issuecomment-108145605 I think this affects embedded applications that pull in the spark core jar, and then try to run against a hadoop 2 cluster. Is that right @zsxwing? Right

[GitHub] spark pull request: [SPARK-7527][Core]Fix createNullValue to retur...

2015-06-10 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6735#issuecomment-110677571 It's because `enclosingObject` in `instantiateClass` is null. The bytecodes in constructor will check the first field: ``` public

[GitHub] spark pull request: [SPARK-7527][Core]Fix createNullValue to retur...

2015-06-10 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6735#discussion_r32113419 --- Diff: core/src/main/scala/org/apache/spark/util/ClosureCleaner.scala --- @@ -109,7 +109,16 @@ private[spark] object ClosureCleaner extends Logging

[GitHub] spark pull request: [SPARK-7996] Deprecate the developer api Spark...

2015-06-10 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6731#issuecomment-110744784 Changed SparkEnv.actorSystem to be a function such that we can use the deprecated flag with it and added a deprecated message. I can add `@deprecated` flat

[GitHub] spark pull request: [SPARK-7527][Core]Fix createNullValue to retur...

2015-06-10 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6735#issuecomment-110725471 The issue is that if a closure is cleaned twice, when cleaning the closure at the second time, the `$outer` of this closure may have already been set to `null

[GitHub] spark pull request: [SPARK-7961][SQL]Refactor SQLConf to display b...

2015-06-10 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6747 [SPARK-7961][SQL]Refactor SQLConf to display better error message 1. Add `SQLConfEntry` to store the information about a configuration. For those configurations that cannot be found in `sql

[GitHub] spark pull request: [SPARK-4072][Streaming][WebUI]Display Streamin...

2015-06-04 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6634#issuecomment-108768276 @tdas could you take a look 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-4072][Streaming][WebUI]Display Streamin...

2015-06-04 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6634 [SPARK-4072][Streaming][WebUI]Display Streaming blocks in Streaming UI This PR includes the following changes: * Add `StreamingListenerBlockAdded` and `StreamingListenerBlockRemoved` events

[GitHub] spark pull request: [SPARK-7989][Core][Tests] Fix flaky tests in E...

2015-06-03 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6546#issuecomment-108699116 @zsxwing IIUC this only adds some wait logic for the two test suites, but the intent is that we don't change the logic in BroadcastSuite right? Right

[GitHub] spark pull request: [SPARK-7261][Core] Change default log level to...

2015-06-09 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6734 [SPARK-7261][Core] Change default log level to WARN in the REPL 1. Add `log4j-defaults-repl.properties` that has log level WARN. 2. When logging is initialized, check whether inside the REPL

[GitHub] spark pull request: [SPARK-7527][Core]Fix createNullValue to retur...

2015-06-10 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6735#issuecomment-110604597 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 not have

[GitHub] spark pull request: [SPARK-7527][Core]Fix createNullValue to retur...

2015-06-09 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6735#issuecomment-110569154 /cc @andrewor14 @srowen @preeze --- 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-7527][Core]Fix createNullValue to retur...

2015-06-09 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6735 [SPARK-7527][Core]Fix createNullValue to return the correct null values and REPL mode detection The root cause of SPARK-7527 is `createNullValue` returns an incompatible value `Byte(0) for `char

[GitHub] spark pull request: [SPARK-4072][Core]Display Streaming blocks in ...

2015-06-22 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6672#issuecomment-114159220 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 not have

[GitHub] spark pull request: [SPARK-5037][STREAMING] dynamically loaded DSt...

2015-06-22 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/3858#issuecomment-114140106 @industrial-sloth I think most of work to add a new type of DStream includes: 1. Convert parameters from Python types to Java types 2. Convert DStream[T

[GitHub] spark pull request: [SPARK-8564][Streaming]Add the Python API for ...

2015-06-23 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/6955 [SPARK-8564][Streaming]Add the Python API for Kinesis This PR adds the Python API for Kinesis, including a Python example and a simple unit test. You can merge this pull request into a Git

[GitHub] spark pull request: [SPARK-8399][Streaming][Web UI] Overlap betwee...

2015-06-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6845#issuecomment-113785985 Do you mean above the axis? No. Still overlap. But `#batches` is on the top. --- If your project is set up for it, you can reply to this email and have your

[GitHub] spark pull request: [SPARK-8399][Streaming][Web UI] Overlap betwee...

2015-06-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6845#issuecomment-113783361 Looks a lot of space on the right. Could you just move `#batches` above the blue bar? --- If your project is set up for it, you can reply to this email and have your

[GitHub] spark pull request: [SPARK-8378][Streaming]Add the Python API for ...

2015-06-20 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/6830#issuecomment-113786084 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 not have

[GitHub] spark pull request: [SPARK-5155] [PySpark] [Streaming] Mqtt stream...

2015-06-22 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/4229#discussion_r32920969 --- Diff: external/mqtt-assembly/pom.xml --- @@ -0,0 +1,101 @@ +?xml version=1.0 encoding=UTF-8? +!-- + ~ Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-5155] [PySpark] [Streaming] Mqtt stream...

2015-06-22 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/4229#discussion_r32922157 --- Diff: python/pyspark/streaming/mqtt.py --- @@ -0,0 +1,55 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more

[GitHub] spark pull request: [SPARK-5155] [PySpark] [Streaming] Mqtt stream...

2015-06-22 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/4229#discussion_r32920954 --- Diff: python/pyspark/streaming/mqtt.py --- @@ -0,0 +1,55 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more

[GitHub] spark pull request: [SPARK-5155] [PySpark] [Streaming] Mqtt stream...

2015-06-22 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/4229#discussion_r32919596 --- Diff: external/mqtt-assembly/pom.xml --- @@ -0,0 +1,101 @@ +?xml version=1.0 encoding=UTF-8? +!-- + ~ Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-5155] [PySpark] [Streaming] Mqtt stream...

2015-06-22 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/4229#discussion_r32919438 --- Diff: examples/src/main/python/streaming/mqtt_wordcount.py --- @@ -0,0 +1,57 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one

[GitHub] spark pull request: [SPARK-4072][Core]Display Streaming blocks in ...

2015-06-22 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6672#discussion_r32914064 --- Diff: core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala --- @@ -98,6 +99,9 @@ case class SparkListenerExecutorAdded(time: Long

[GitHub] spark pull request: [SPARK-8630][Streaming] Prevent from checkpoin...

2015-06-25 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/7016 [SPARK-8630][Streaming] Prevent from checkpointing QueueInputDStream This PR throws an exception in `QueueInputDStream.writeObject` so that it can fail the application when calling

[GitHub] spark pull request: [SPARK-8634][Streaming][Tests]Fix flaky test S...

2015-06-25 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/7017#issuecomment-115290274 /cc @tdas --- 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

[GitHub] spark pull request: [SPARK-8634][Streaming][Tests]Fix flaky test S...

2015-06-25 Thread zsxwing
GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/7017 [SPARK-8634][Streaming][Tests]Fix flaky test StreamingListenerSuite receiver info reporting As per the unit test log in https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/35754

[GitHub] spark pull request: [SPARK-8630][Streaming] Prevent from checkpoin...

2015-06-25 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/7016#issuecomment-115293536 /cc @tdas --- 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

[GitHub] spark pull request: [SPARK-8634][Streaming][Tests]Fix flaky test S...

2015-06-25 Thread zsxwing
Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/7017#issuecomment-115313671 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 not have

[GitHub] spark pull request: [SPARK-8564][Streaming]Add the Python API for ...

2015-06-24 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6955#discussion_r33151330 --- Diff: python/run-tests --- @@ -126,7 +126,20 @@ function run_streaming_tests() { KAFKA_ASSEMBLY_JAR=$f done -export

[GitHub] spark pull request: [SPARK-4072][Core]Display Streaming blocks in ...

2015-06-24 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6672#discussion_r33149671 --- Diff: core/src/main/scala/org/apache/spark/util/JsonProtocol.scala --- @@ -848,6 +908,60 @@ private[spark] object JsonProtocol { new ExecutorInfo

[GitHub] spark pull request: [SPARK-4072][Core]Display Streaming blocks in ...

2015-06-24 Thread zsxwing
Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/6672#discussion_r33147254 --- Diff: core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala --- @@ -30,11 +30,32 @@ private[ui] class StoragePage(parent: StorageTab

<    4   5   6   7   8   9   10   11   12   13   >