[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-11-14 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-63128807 Yeah, alright. Could you close this PR then? --- 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-3325] Add a parameter to the method pri...

2014-11-14 Thread watermen
Github user watermen closed the pull request at: https://github.com/apache/spark/pull/2216 --- 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

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-11-12 Thread watermen
GitHub user watermen opened a pull request: https://github.com/apache/spark/pull/3237 [SPARK-3325] Add a parameter to the method print in class DStream. I have deleted the repository with mistake, so I create a new PR. old PR:https://github.com/apache/spark/pull/2216 def

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-11-12 Thread watermen
Github user watermen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-62833219 I have deleted the repository with mistake, so I create a new PR. new PR:https://github.com/apache/spark/pull/3237 --- If your project is set up for it, you can reply

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-11-11 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-62534611 @watermen This PR hasnt been updated with the change @srowen suggested. --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-09 Thread srowen
Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r18627949 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStream.scala --- @@ -94,6 +94,14 @@ class JavaDStream[T](val dstream:

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-08 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-58460160 [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/21515/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-08 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-58460408 [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/21515/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-58460410 Test FAILed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-58461058 Test FAILed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-08 Thread srowen
Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r18626981 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStream.scala --- @@ -94,6 +94,14 @@ class JavaDStream[T](val dstream:

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-10-08 Thread watermen
Github user watermen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r18627758 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStream.scala --- @@ -94,6 +94,14 @@ class JavaDStream[T](val dstream:

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-27 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-57060715 Ah I see - I thought this was an abstract class instead of a trait being modified in this patch. This is not an error with the compatibility checker - it's a

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-27 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-57060863 Yeah so I looked into it a bit more and since `JavaDStream` extends `JavaDStreamLike` this will break user code with custom DStream's. The issue is that under the hood

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-27 Thread JoshRosen
Github user JoshRosen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-57074623 I really wish that we could convert JavaDStreamLike / JavaRDDLike into abstract base classes instead of traits, since there's no particular reason why they should be

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-26 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-57008381 That should not be the reason. Logically speaking, that makes sense only if we add a method that does not have a default implementation. Now whether Mima tool is reasoning

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-25 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56777443 Jenkins, test 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-3325] Add a parameter to the method pri...

2014-09-25 Thread pwendell
Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56777484 LGTM too - this is a good idea! --- 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-3325] Add a parameter to the method pri...

2014-09-25 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56777609 [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20782/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-25 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56782577 Test FAILed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-25 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56782572 [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20782/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-25 Thread srowen
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56787307 MIMA is complaining because a method is added to trait `JavaDStreamLike`. I think it should just be suppressed, as there's no guarantee to callers that this trait won't

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-25 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56855642 @scrapcodes Can you take a look at this. Adding new methods to JavaDStreamLike should not break binary compatibility. --- If your project is set up for it, you can reply

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-25 Thread JoshRosen
Github user JoshRosen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56903783 @tdas Maybe we're seeing an error here because JavaDStreamLike compiles down to a Java interface and adding new methods to a public interface can break compatibility

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-23 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-56577585 Jenkins, test this again. --- 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-3325] Add a parameter to the method pri...

2014-09-12 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-55364803 Binary compatibility is still the problem. I think adding optional parameter to a scala function breaks binary compatibility. I suggest do the same in Scala API as you have

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-12 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-55375789 [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20220/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-12 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-55381569 [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20220/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-11 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-55354531 LGTM, if binary compatibility tests pass. --- 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-3325] Add a parameter to the method pri...

2014-09-11 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-55355509 [QA tests have started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20198/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-11 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-55358417 [QA tests have finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/20198/consoleFull) for PR 2216 at commit

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-10 Thread watermen
Github user watermen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r17344850 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala --- @@ -50,8 +50,8 @@ trait JavaDStreamLike[T, This :

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-10 Thread srowen
Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r17348838 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala --- @@ -50,8 +50,8 @@ trait JavaDStreamLike[T, This :

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-10 Thread watermen
Github user watermen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r1735 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala --- @@ -50,8 +50,8 @@ trait JavaDStreamLike[T, This :

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-05 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54682610 Jenkins, test 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-3325] Add a parameter to the method pri...

2014-09-05 Thread tdas
Github user tdas commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r17198878 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala --- @@ -50,8 +50,8 @@ trait JavaDStreamLike[T, This :

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-05 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54683003 @watermen @srowen Should definitely add to both API. --- 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-3325] Add a parameter to the method pri...

2014-09-05 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54694366 Can one of the admins verify this patch? --- 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-3325] Add a parameter to the method pri...

2014-09-04 Thread watermen
Github user watermen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54411613 @tdas When i use the function of updateStateByKey, and the number of key are more than 10. I want to watch all values of keys to make sure the code is right. --- If

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-04 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54414169 Ahh okay. As @ScrapCodes said, this can be done pretty easily with foreachRDD, but I can see how this makes it a tad bit convenient. I am okay to add this. However, please

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-04 Thread srowen
Github user srowen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54431716 @watermen @tdas PS do you think this can be added to the Java API too? it needs to be a new additional method not a change to the existing one. Worth the extra method,

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-04 Thread watermen
Github user watermen commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54577266 @srowen it doesn't need to add an existing method, see my [files changed]. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-03 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54375823 Jenkins, this is ok to test. --- 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-3325] Add a parameter to the method pri...

2014-09-03 Thread tdas
Github user tdas commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54376099 @watermen Can you explain the usecase under which this is a convenient addition? I dont mind adding as long as i understand its usefulness. --- If your project is set up

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-01 Thread ScrapCodes
Github user ScrapCodes commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r16942761 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala --- @@ -603,14 +603,14 @@ abstract class DStream[T: ClassTag] (

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-01 Thread ScrapCodes
Github user ScrapCodes commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-54028823 This change is okay to have, but to print N elements from Dstream you can do something like dstream.foreachRDD(rdd = println(rdd.take(N).mkString)). I will let

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-01 Thread srowen
Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r16946191 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala --- @@ -603,14 +603,14 @@ abstract class DStream[T: ClassTag] ( *

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-09-01 Thread ScrapCodes
Github user ScrapCodes commented on a diff in the pull request: https://github.com/apache/spark/pull/2216#discussion_r16946373 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala --- @@ -603,14 +603,14 @@ abstract class DStream[T: ClassTag] (

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-08-30 Thread watermen
GitHub user watermen opened a pull request: https://github.com/apache/spark/pull/2216 [SPARK-3325] Add a parameter to the method print in class DStream. def print(num: Int = 10) User can control the number of elements which to print. You can merge this pull request into a Git

[GitHub] spark pull request: [SPARK-3325] Add a parameter to the method pri...

2014-08-30 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/2216#issuecomment-53954443 Can one of the admins verify this patch? --- 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