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-1820][tools] Make GenerateMimaIgnore @DeveloperApi annotation aware. #845

Closed
wants to merge 6 commits into from

Conversation

nikhils05
Copy link

Solution for : Add all the classes with DeveloperApi annotation in Mima excludes.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@pwendell
Copy link
Contributor

Jenkins, test this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15189/

}

def classesAnnotationCheck(className: String) = {
try {
Copy link
Contributor

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)
Copy link
Contributor

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

@pwendell
Copy link
Contributor

I added some style feedback. This is failing several style tests:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15189/

@nikhils05
Copy link
Author

I've made the suggested changes...

@pwendell
Copy link
Contributor

Jenkins, test this please.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15214/

@pwendell
Copy link
Contributor

Jenkins, test this please. Jenkins, this is okay to test.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15247/

@ScrapCodes
Copy link
Member

#904 Fixes the build and few other style things.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@ScrapCodes
Copy link
Member

@nikhils05 Can you close this PR ?

@pwendell
Copy link
Contributor

pwendell commented Sep 2, 2014

Yeah let's close this issue for now.

@asfgit asfgit closed this in 1f98add Sep 2, 2014
agirish pushed a commit to HPEEzmeral/apache-spark that referenced this pull request May 5, 2022
udaynpusa pushed a commit to mapr/spark that referenced this pull request Jan 30, 2024
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 this pull request may close these issues.

5 participants