You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by keypointt <gi...@git.apache.org> on 2016/05/02 19:07:10 UTC

[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

GitHub user keypointt opened a pull request:

    https://github.com/apache/spark/pull/12845

    [SPARK-14936][BUILD][TESTS] FlumePollingStreamSuite is slow

    ## What changes were proposed in this pull request?
    
    FlumePollingStreamSuite contains two tests which run for a minute each. This seems excessively slow and we should speed it up if possible.
    
    ## How was this patch tested?
    
    Tested on my local machine, reducing the batch size and events size of each batch could **save couple seconds** in my observation.
    
    ## Needs verification
    I dig into this testing, and the slowness is mainly caused by the multi-thread tasks. Basically as I understand, when putting data to channels,  `executorCompletion.submit(new TxnSubmitter(channel))` each executor is started to submit in parallel, and `CountDownLatch` is waiting for all data being process, since this process is synchronized and main thread has to wait till all threads finish.
    
    I'm not sure whether this is fixing the root cause or not, maybe some senior developers could have a look at it?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/keypointt/spark SPARK-14936

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12845.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #12845
    
----
commit 506f6fabd04b43ce415beda9ed68a9c5c79f7f01
Author: Xin Ren <ia...@126.com>
Date:   2016-05-02T17:02:41Z

    [SPARK-14936] fix typo

commit 83dcc61aa2b998fa913c6275eecf41aedb2dcb96
Author: Xin Ren <ia...@126.com>
Date:   2016-05-02T18:49:24Z

    [SPARK-14936] change to smaller and less batch, to save some time

----


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216336677
  
    Merged build finished. Test FAILed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216637484
  
    **[Test build #57658 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57658/consoleFull)** for PR 12845 at commit [`0f28bd2`](https://github.com/apache/spark/commit/0f28bd25f7e70018e0912fd698540b8d5a7f4df7).


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216350518
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57553/
    Test FAILed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216358757
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57555/
    Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12845#discussion_r62755446
  
    --- Diff: external/flume/src/test/scala/org/apache/spark/streaming/flume/FlumePollingStreamSuite.scala ---
    @@ -24,29 +24,41 @@ import scala.collection.JavaConverters._
     import scala.concurrent.duration._
     import scala.language.postfixOps
     
    -import org.scalatest.BeforeAndAfter
    +import org.scalatest.BeforeAndAfterAll
     import org.scalatest.concurrent.Eventually._
     
    -import org.apache.spark.{SparkConf, SparkFunSuite}
    +import org.apache.spark.{SparkConf, SparkContext, SparkFunSuite}
     import org.apache.spark.internal.Logging
     import org.apache.spark.network.util.JavaUtils
     import org.apache.spark.storage.StorageLevel
     import org.apache.spark.streaming.{Seconds, StreamingContext, TestOutputStream}
     import org.apache.spark.streaming.dstream.ReceiverInputDStream
     import org.apache.spark.util.{ManualClock, Utils}
     
    -class FlumePollingStreamSuite extends SparkFunSuite with BeforeAndAfter with Logging {
    +class FlumePollingStreamSuite extends SparkFunSuite with BeforeAndAfterAll with Logging {
     
       val maxAttempts = 5
       val batchDuration = Seconds(1)
     
    +  @transient private var _sc: SparkContext = _
    +
    +  def sc: SparkContext = _sc
    +
       val conf = new SparkConf()
         .setMaster("local[2]")
         .setAppName(this.getClass.getSimpleName)
         .set("spark.streaming.clock", "org.apache.spark.util.ManualClock")
     
       val utils = new PollingFlumeTestUtils
     
    +  override def beforeAll(): Unit = {
    +    _sc = new SparkContext(conf)
    +  }
    +
    +  override def afterAll(): Unit = {
    +    _sc.stop()
    --- End diff --
    
    nit: it's better to check `_sc != null`:
    
    ```
    if (_sc != null) {
      _sc.stop()
      _sc = null
    }
    ```
     So if `new SparkContext` fails, we don't hide it by a NPE.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218297045
  
    By the way, could you update the description of this PR as well?


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216350514
  
    Merged build finished. Test FAILed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/12845


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216336641
  
    **[Test build #57545 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57545/consoleFull)** for PR 12845 at commit [`83dcc61`](https://github.com/apache/spark/commit/83dcc61aa2b998fa913c6275eecf41aedb2dcb96).
     * This patch **fails PySpark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218299658
  
    **[Test build #58271 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58271/consoleFull)** for PR 12845 at commit [`c3ce756`](https://github.com/apache/spark/commit/c3ce75614e76605bee7386b9bfc2c4f97ee4fc13).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds the following public classes _(experimental)_:
      * `class FlumePollingStreamSuite extends SparkFunSuite with BeforeAndAfterAll with Logging `


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216661708
  
    **[Test build #57658 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57658/consoleFull)** for PR 12845 at commit [`0f28bd2`](https://github.com/apache/spark/commit/0f28bd25f7e70018e0912fd698540b8d5a7f4df7).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216350483
  
    **[Test build #57553 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57553/consoleFull)** for PR 12845 at commit [`96a0bc2`](https://github.com/apache/spark/commit/96a0bc21823185a040cb5e62046f0071b51f1766).
     * This patch **fails PySpark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12845#discussion_r62755253
  
    --- Diff: external/flume/src/test/scala/org/apache/spark/streaming/flume/FlumePollingStreamSuite.scala ---
    @@ -24,29 +24,41 @@ import scala.collection.JavaConverters._
     import scala.concurrent.duration._
     import scala.language.postfixOps
     
    -import org.scalatest.BeforeAndAfter
    +import org.scalatest.BeforeAndAfterAll
     import org.scalatest.concurrent.Eventually._
     
    -import org.apache.spark.{SparkConf, SparkFunSuite}
    +import org.apache.spark.{SparkConf, SparkContext, SparkFunSuite}
     import org.apache.spark.internal.Logging
     import org.apache.spark.network.util.JavaUtils
     import org.apache.spark.storage.StorageLevel
     import org.apache.spark.streaming.{Seconds, StreamingContext, TestOutputStream}
     import org.apache.spark.streaming.dstream.ReceiverInputDStream
     import org.apache.spark.util.{ManualClock, Utils}
     
    -class FlumePollingStreamSuite extends SparkFunSuite with BeforeAndAfter with Logging {
    +class FlumePollingStreamSuite extends SparkFunSuite with BeforeAndAfterAll with Logging {
     
       val maxAttempts = 5
       val batchDuration = Seconds(1)
     
    +  @transient private var _sc: SparkContext = _
    +
    +  def sc: SparkContext = _sc
    --- End diff --
    
    nit: you don't need this method.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216336679
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57545/
    Test FAILed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218277880
  
    Could you revert other changes? (the typo fix is fine) They don't improve much but may make the tests flaky.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218299750
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58271/
    Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216681881
  
    Merged build finished. Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216358653
  
    **[Test build #57555 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57555/consoleFull)** for PR 12845 at commit [`76fe90f`](https://github.com/apache/spark/commit/76fe90f603fb2c8ec49b3a784bd6681571dc18be).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216358754
  
    Merged build finished. Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216612974
  
    It still needs 1 minute each:
    
    ```
    [info] FlumePollingStreamSuite:
    [info] - flume polling test (1 minute, 8 seconds)
    [info] - flume polling test multiple hosts (1 minute, 6 seconds)
    ```


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218306696
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58279/
    Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216681788
  
    **[Test build #57677 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57677/consoleFull)** for PR 12845 at commit [`995239f`](https://github.com/apache/spark/commit/995239fbda8d95f40938fc3efdd9da8a1f30a43b).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by keypointt <gi...@git.apache.org>.
Github user keypointt commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218300991
  
    I've updated the description, and changed the code as you recommended. Let's wait for the Jenkins result.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218299748
  
    Merged build finished. Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218294501
  
    **[Test build #58271 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58271/consoleFull)** for PR 12845 at commit [`c3ce756`](https://github.com/apache/spark/commit/c3ce75614e76605bee7386b9bfc2c4f97ee4fc13).


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216661996
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57658/
    Test FAILed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by keypointt <gi...@git.apache.org>.
Github user keypointt commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216688943
  
    ```
    [info] FlumePollingStreamSuite: 
    [info] - flume polling test (10 seconds, 396 milliseconds) 
    [info] - flume polling test multiple hosts (10 seconds, 524 milliseconds)
    ```
    It's faster this time, but I'm not sure this is the correct way to do it. 
    
    I just keep underlying sparkcontext alive during streamingcontext start/stop, and finally stop the sparkcontext.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by keypointt <gi...@git.apache.org>.
Github user keypointt commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218307535
  
    @zsxwing thanks a lot for reviewing 👍 


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218302052
  
    **[Test build #58279 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58279/consoleFull)** for PR 12845 at commit [`20c39b4`](https://github.com/apache/spark/commit/20c39b459ed7e39d8ccce30a6b73c81efa16491d).


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by keypointt <gi...@git.apache.org>.
Github user keypointt commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218278652
  
    sure I'll revert it, and add `beforeAll` / `afterAll `


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216352966
  
    **[Test build #57555 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57555/consoleFull)** for PR 12845 at commit [`76fe90f`](https://github.com/apache/spark/commit/76fe90f603fb2c8ec49b3a784bd6681571dc18be).


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216346124
  
    **[Test build #57553 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57553/consoleFull)** for PR 12845 at commit [`96a0bc2`](https://github.com/apache/spark/commit/96a0bc21823185a040cb5e62046f0071b51f1766).


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218306601
  
    **[Test build #58279 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58279/consoleFull)** for PR 12845 at commit [`20c39b4`](https://github.com/apache/spark/commit/20c39b459ed7e39d8ccce30a6b73c81efa16491d).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216332731
  
    **[Test build #57545 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57545/consoleFull)** for PR 12845 at commit [`83dcc61`](https://github.com/apache/spark/commit/83dcc61aa2b998fa913c6275eecf41aedb2dcb96).


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by keypointt <gi...@git.apache.org>.
Github user keypointt commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-217267404
  
    Hi @zsxwing do you mind to review the changes here? thanks a lot


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216661990
  
    Merged build finished. Test FAILed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218272412
  
    @keypointt you should create `SparkContext` in `beforeAll` and stop it in `afterAll`. Then use this `SparkContext` to create `StreamingContext`.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218301376
  
    LGTM. Pending tests.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218306695
  
    Merged build finished. Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by zsxwing <gi...@git.apache.org>.
Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-218307248
  
    Merging to master and 2.0. Thanks, @keypointt


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216681882
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57677/
    Test PASSed.


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

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


[GitHub] spark pull request: [SPARK-14936][BUILD][TESTS] FlumePollingStream...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12845#issuecomment-216677221
  
    **[Test build #57677 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57677/consoleFull)** for PR 12845 at commit [`995239f`](https://github.com/apache/spark/commit/995239fbda8d95f40938fc3efdd9da8a1f30a43b).


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

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