[
https://issues.apache.org/jira/browse/HBASE-29680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061177#comment-18061177
]
Hudson commented on HBASE-29680:
--------------------------------
Results for branch master
[build #1412 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.4.1 backward compatibility checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1412/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.2 {color}
> release-util.sh should not hardcode JAVA_HOME for spotless
> ----------------------------------------------------------
>
> Key: HBASE-29680
> URL: https://issues.apache.org/jira/browse/HBASE-29680
> Project: HBase
> Issue Type: Bug
> Components: build
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1
>
>
> We have this in release-util.sh
> {noformat}
> # Run mvn spotless:apply to format the code base
>
> # For 2.x, the generated CHANGES.md and RELEASENOTES.md may have lines end
> with whitespace and
> # case spotless:check failure, so we should run spotless:apply before
> committing
>
> function maven_spotless_apply() {
>
> # our spotless plugin version requires at least java 11 to run, so we use
> java 17 here
> JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64" "${MVN[@]}" spotless:apply
>
> }
> {noformat}
> It should be
> ...
> {noformat}
> JAVA_HOME="$JAVA17_HOME" "${MVN[@]}" spotless:apply
> {noformat}
> ...
> My Java 17 home, for example, is {{/usr/lib/jvm/java-17-openjdk-arm64}} . The
> export of JAVA17_HOME works for all other aspects of the build except here,
> where it fails.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)