GitHub user jerryshao opened a pull request:

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

    [SPARK-5315][Streaming] Fix reduceByWindow Java API not work bug

    `reduceByWindow` for Java API is actually not Java compatible, change to 
make it Java compatible.
    
    Current solution is to deprecate the old one and add a new API, but since 
old API actually is not correct, so is keeping the old one meaningful? just to 
keep the binary compatible? Also even adding new API still need to add to Mima 
exclusion, I'm not sure to change the API, or deprecate the old API and add a 
new one, which is the best solution?

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

    $ git pull https://github.com/jerryshao/apache-spark SPARK-5315

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

    https://github.com/apache/spark/pull/4104.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 #4104
    
----
commit 078b81490be473e4e933689b43d4f3e9ed655cf1
Author: jerryshao <[email protected]>
Date:   2015-01-19T09:50:11Z

    Fix JavaDStream reduceByWindow signature error

commit 7b7c746748cef3bcc77ef8049acbbf4f90fe6e22
Author: jerryshao <[email protected]>
Date:   2015-01-19T10:20:04Z

    Deprecate the old one to keep binary compatible

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to