Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Oct 14, 2019

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.

<module name="LineLength">
<property name="max" value="100"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
Copy link
Member Author

@dongjoon-hyun dongjoon-hyun Oct 14, 2019

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
Copy link
Member Author

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).

@SparkQA
Copy link

SparkQA commented Oct 15, 2019

Test build #112071 has finished for PR 26117 at commit 278b8f8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Oct 15, 2019

Test build #112074 has finished for PR 26117 at commit 065262e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member Author

Hi, @viirya . Could you review this, please?

Comment on lines 20 to +21
// 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"
Copy link
Member

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

Copy link
Member Author

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. :)

Copy link
Member

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.

@dongjoon-hyun
Copy link
Member Author

Thank you so much for review and approval, @viirya !
Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-29470 branch October 15, 2019 18:56
rshkv pushed a commit to palantir/spark that referenced this pull request Jun 4, 2020
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]>
rshkv pushed a commit to palantir/spark that referenced this pull request Jun 5, 2020
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants