-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-29470][BUILD] Update plugins to latest versions #26117
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
| <module name="LineLength"> | ||
| <property name="max" value="100"/> | ||
| <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/> | ||
| </module> |
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.
This is banned at 8.24. We need to move out from TreeWalker.
|
|
||
| # SPARK-9183: Settings to avoid annoying messages when looking up nonexistent UDFs in SparkSQL with Hive support | ||
| # SPARK-9183: Settings to avoid annoying messages when looking up nonexistent UDFs | ||
| # in SparkSQL with Hive support |
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.
$ dev/lint-java
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
Using `mvn` from path: /usr/local/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR] src/main/resources/org/apache/spark/log4j-defaults.properties:[36] (sizes) LineLength: Line is longer than 100 characters (found 112).
|
Test build #112071 has finished for PR 26117 at commit
|
|
Test build #112074 has finished for PR 26117 at commit
|
|
Hi, @viirya . Could you review this, please? |
| // sbt-checkstyle-plugin uses an old version of checkstyle. Match it to Maven's. | ||
| libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "8.23" | ||
| libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "8.25" |
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.
Why it is an old version? Looks like it is very new version?
https://mvnrepository.com/artifact/com.puppycrawl.tools/checkstyle
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.
The description sbt-checkstyle-plugin uses an old version means that sbt-checkstyle-plugin depends on the old version and we need to override it here. :)
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.
I see. Thanks for clarifying.
|
Thank you so much for review and approval, @viirya ! |
This PR updates plugins to latest versions. This brings bug fixes like the following. - https://issues.apache.org/jira/projects/MCOMPILER/versions/12343484 (maven-compiler-plugin) - https://issues.apache.org/jira/projects/MJAVADOC/versions/12345060 (maven-javadoc-plugin) - https://issues.apache.org/jira/projects/MCHECKSTYLE/versions/12342397 (maven-checkstyle-plugin) - https://checkstyle.sourceforge.io/releasenotes.html#Release_8.25 (checkstyle) - https://checkstyle.sourceforge.io/releasenotes.html#Release_8.24 (checkstyle) No. Pass the Jenkins building and testing with the existing code. Closes apache#26117 from dongjoon-hyun/SPARK-29470. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This PR updates plugins to latest versions. This brings bug fixes like the following. - https://issues.apache.org/jira/projects/MCOMPILER/versions/12343484 (maven-compiler-plugin) - https://issues.apache.org/jira/projects/MJAVADOC/versions/12345060 (maven-javadoc-plugin) - https://issues.apache.org/jira/projects/MCHECKSTYLE/versions/12342397 (maven-checkstyle-plugin) - https://checkstyle.sourceforge.io/releasenotes.html#Release_8.25 (checkstyle) - https://checkstyle.sourceforge.io/releasenotes.html#Release_8.24 (checkstyle) No. Pass the Jenkins building and testing with the existing code. Closes apache#26117 from dongjoon-hyun/SPARK-29470. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR updates plugins to latest versions.
Why are the changes needed?
This brings bug fixes like the following.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the Jenkins building and testing with the existing code.