-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-1820][tools] Make GenerateMimaIgnore @DeveloperApi annotation aware. #845
Conversation
Can one of the admins verify this patch? |
Jenkins, test this please. |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15189/ |
} | ||
|
||
def classesAnnotationCheck(className: String) = { | ||
try { |
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.
Please convert tabs to spaces (otherwise indentation looks really wack on github).
for (className <- classes) { | ||
val directlyPrivateSpark = isPackagePrivate(className) | ||
val annotationCheck = classesAnnotationCheck(className) |
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.
It might be better to call this something like val developerApi
to make it grammatically consistent with the other variables. I.e.
if (directlyPrivateSpark || indirectlyPrivateSpark || developerApi) privateClasses += className
I added some style feedback. This is failing several style tests: |
I've made the suggested changes... |
Jenkins, test this please. |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15214/ |
Jenkins, test this please. Jenkins, this is okay to test. |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15247/ |
#904 Fixes the build and few other style things. |
Can one of the admins verify this patch? |
@nikhils05 Can you close this PR ? |
Yeah let's close this issue for now. |
… MAPRSASL (apache#845) Co-authored-by: Egor Krivokon <>
… MAPRSASL (apache#845) Co-authored-by: Egor Krivokon <>
Solution for : Add all the classes with DeveloperApi annotation in Mima excludes.