-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[HOT FIX] MiMa tests are broken #3371
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
Conversation
Test build #23623 has started for PR 3371 at commit
|
LGTM - we should add a fix for MIMA where we can mark interfaces that we don't want users to extend, and it will ignore them. |
Test build #23623 has finished for PR 3371 at commit
|
Test FAILed. |
Not a comment on the change itself, but sometimes these mima errors confuse me. I have a couple of questions:
Why is adding a new method an error? That is fine as far as API compatibility is concerned, right? Or is this restricted to interfaces (because of risk of
|
@@ -99,6 +99,12 @@ object MimaExcludes { | |||
// SPARK-4062 | |||
ProblemFilters.exclude[MissingMethodProblem]( | |||
"org.apache.spark.streaming.kafka.KafkaReceiver#MessageHandler.this") | |||
) ++ Seq( | |||
// SPARK-2321 | |||
ProblemFilters.exclude[MissingMethodProblem]( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
master is now v1.3 so these should probably be moved to the right "case" above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh... that's why it's failing.
Hey @vanzin. For an interface, adding a new method does break existing implementations. This is an interface we never expect users to extend, so we need a way in general to annotate these and have mima ignore them. Something like For the second issue, I have no idea what is going on with that. |
Test build #23631 has started for PR 3371 at commit
|
I tested this locally and it worked, I'm going to pull this in since the current state of affairs is a huge disruption. |
Test build #23631 has finished for PR 3371 at commit
|
Test PASSed. |
This is blocking apache#3353 and other patches. Author: Andrew Or <andrew@databricks.com> Closes apache#3371 from andrewor14/mima-hot-fix and squashes the following commits: 842d059 [Andrew Or] Move excludes to the right section c4d4f4e [Andrew Or] MIMA hot fix
This is blocking #3353 and other patches.