Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark 2 compatibility #83

Open
tashoyan opened this issue Oct 18, 2016 · 1 comment
Open

Spark 2 compatibility #83

tashoyan opened this issue Oct 18, 2016 · 1 comment

Comments

@tashoyan
Copy link
Contributor

As Spark 2 is not a breaking news anymore, it's time to make reference apps working with it.
I can see at least the following things to do:

  • Use SparkSession instead of SQLContext
  • Use Dataset API
  • Update JavaDStream.foreachRDD() invocations to new contract (returns nothing)
  • Update JavaPairDStream.updateStateByKey() to new contract (uses Spark implementation of Optional)
@tashoyan
Copy link
Contributor Author

I can handle Java part.
The question: do we still need to maintain Java 6 compatible code? Can we exclude support for this outdated Java version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant