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

maven clean package failed #7

Open
yyz1989 opened this issue Apr 11, 2017 · 2 comments · May be fixed by #8
Open

maven clean package failed #7

yyz1989 opened this issue Apr 11, 2017 · 2 comments · May be fixed by #8

Comments

@yyz1989
Copy link

yyz1989 commented Apr 11, 2017

Dear Saisai,

Thanks a lot for your contribution.

I had problems at the first step when packaging it. Maven complains that it cannot find many dependencies with version number 2.1.0-SNAPSHOT. Since Spark 2.1.0 has been released already, I removed SNAPSHOT and rerun. Then the error looks like:

[ERROR] /Users/yyz/Work/SYMBIOPTIMA/spark-kafka-0-8-sql/src/main/scala/com/hortonworks/spark/sql/kafka08/KafkaSourceOffset.scala:28: class KafkaSourceOffset needs to be abstract, since method json in class Offset of type => String is not defined
[ERROR] case class KafkaSourceOffset(partitionToOffsets: Map[TopicAndPartition, LeaderOffset])
[ERROR]                   ^
[ERROR] one error found

what can I do here?

Thanks a lot for your suggestion.

Best regards,
Yang

@flisky
Copy link

flisky commented Apr 26, 2017

Hello, there! You may like flisky/spark-kafka-0-8-sql@68c20de.

I'm afraid it's a huge change, and @jerryshao, would you want to merge?

@jerryshao
Copy link
Owner

@yyz1989 I guess there's some updates in the Spark side which makes current fail to compile.

@flisky thanks for the contribution, can you please make a PR about your changes? Let's see what actually changes.

@flisky flisky linked a pull request Apr 27, 2017 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants