Skip to content

GH-41571: [Java] Revert GH-41307 (#41309) - #41628

Merged
lidavidm merged 3 commits into
apache:mainfrom
lidavidm:revert
May 21, 2024
Merged

GH-41571: [Java] Revert GH-41307 (#41309)#41628
lidavidm merged 3 commits into
apache:mainfrom
lidavidm:revert

Conversation

@lidavidm

@lidavidmlidavidm commented May 12, 2024

Copy link
Copy Markdown
Member

Rationale for this change

The commit in question caused a lot of CI issues

Are these changes tested?

N/A

Are there any user-facing changes?

N/A

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #41571has been automatically assigned in GitHub to PR creator.

@lidavidm

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit test--spark-java

@github-actions

Copy link
Copy Markdown

Revision: 8285a2ba8b8c271690766226ca527da78b67457a

Submitted crossbow builds: ursacomputing/crossbow @ actions-a804e6c132

TaskStatus
java-jarsGitHub Actions
test-conda-python-3.10-spark-v3.5.0GitHub Actions
test-conda-python-3.11-spark-masterGitHub Actions
test-conda-python-3.8-spark-v3.5.0GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64GitHub Actions
verify-rc-source-java-macos-amd64GitHub Actions

@lidavidm

Copy link
Copy Markdown
MemberAuthor

@danepitkin@vibhatha if the java-jars and spark jobs are this finicky, they really should be part of the regular CI and not Crossbow

@lidavidm

Copy link
Copy Markdown
MemberAuthor

It also appears the C++ build broke again

@vibhatha

Copy link
Copy Markdown
Contributor

@lidavidm +1 to including java-jars with regular CIs. It has been failing for many cases very recently.

@vibhatha

Copy link
Copy Markdown
Contributor

@felipecrv have you come across this issue: https://github.com/ursacomputing/crossbow/actions/runs/9054922130/job/24875318571#step:8:2503

FAILED: src/gandiva/precompiled/hash.bc /build/cpp/src/gandiva/precompiled/hash.bc cd /build/cpp/src/gandiva/precompiled && /opt/vcpkg/installed/arm64-linux-static-release/tools/llvm/clang-17 -std=c++17 -DGANDIVA_IR -DNDEBUG -DARROW_STATIC -DGANDIVA_STATIC -fno-use-cxa-atexit -emit-llvm -O3 -c /arrow/cpp/src/gandiva/precompiled/hash.cc -o /build/cpp/src/gandiva/precompiled/hash.bc -isystem -isystem /x86_64-redhat-linux -isystem -lpthread -I/build/cpp/src -I/arrow/cpp/src
clang-17: error: no such file or directory: '/x86_64-redhat-linux'

@lidavidm
lidavidm marked this pull request as ready for review May 13, 2024 01:17
@lidavidm

Copy link
Copy Markdown
MemberAuthor

CC @kiszk@jbonofre

@felipecrv

Copy link
Copy Markdown
Contributor

@vibhatha I never seen it because I never build Gandiva.

@lidavidm

Copy link
Copy Markdown
MemberAuthor

No review? I'm going to close this PR soon if it looks like we don't want it @vibhatha@danepitkin

@vibhatha

Copy link
Copy Markdown
Contributor

@lidavidm I will review this today. Shall we rebase since there were some changes in Java and CIs.

@vibhatha
vibhatha requested a review from jbonofreMay 21, 2024 00:27
Comment threadjava/maven/pom.xml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lidavidm just curious, I am comparing this PR agains: #41309.

And We the following dependency in the main

<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.8.0</version>
</plugin>

And we had the following in the said PR.

<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.7.11</version>
</plugin>

And in here we have 2.7.11, any specific reason we picked 2.7.11? not 2.8.0?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not particularly bothered so long as CI passes. We can let dependabot upgrade it again.

Comment threadjava/performance/pom.xml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here in the previous PR the following component has been removed, but we haven't reverted it back here.

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration combine.self="override">
<compilerVersion>${javac.target}</compilerVersion>
<source>${javac.target}</source>
<target>${javac.target}</target>
</configuration>
</plugin>

And in the main we have

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths combine.children="append">
<path>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>

So I hope this is okay?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not particularly bothered so long as CI passes.

@vibhathavibhatha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lidavidm I added a few comments. Shall we rebase the PR and run the CIs once more?

@github-actionsgithub-actionsBot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels May 21, 2024
@vibhatha

Copy link
Copy Markdown
Contributor

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: 8285a2ba8b8c271690766226ca527da78b67457a

Submitted crossbow builds: ursacomputing/crossbow @ actions-4bdc9eb706

TaskStatus
java-jarsGitHub Actions
test-conda-python-3.10-spark-v3.5.0GitHub Actions
test-conda-python-3.11-spark-masterGitHub Actions
test-conda-python-3.8-spark-v3.5.0GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64GitHub Actions
verify-rc-source-java-macos-amd64GitHub Actions

@vibhatha

Copy link
Copy Markdown
Contributor

@lidavidm the java-jars CI failures are from a previously resolved issued.

@lidavidm

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g java

@github-actionsgithub-actionsBot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels May 21, 2024
@github-actions

Copy link
Copy Markdown

Revision: 3c561a2

Submitted crossbow builds: ursacomputing/crossbow @ actions-057b79da1a

TaskStatus
java-jarsGitHub Actions
test-conda-python-3.10-spark-v3.5.0GitHub Actions
test-conda-python-3.11-spark-masterGitHub Actions
test-conda-python-3.8-spark-v3.5.0GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64GitHub Actions
verify-rc-source-java-macos-amd64GitHub Actions

@lidavidm

Copy link
Copy Markdown
MemberAuthor

Looks like Spark is fixed but Dataset is now broken.

@lidavidm

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: dd15529

Submitted crossbow builds: ursacomputing/crossbow @ actions-a5a11e35cd

TaskStatus
java-jarsGitHub Actions
test-conda-python-3.10-spark-v3.5.0GitHub Actions
test-conda-python-3.11-spark-masterGitHub Actions
test-conda-python-3.8-spark-v3.5.0GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64GitHub Actions
verify-rc-source-java-macos-amd64GitHub Actions

@vibhatha

Copy link
Copy Markdown
Contributor

Looks like Spark is fixed but Dataset is now broken.

Yes, a test is failing. Let me check if it is failing in other PRs.

@lidavidm

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit java-jars

@github-actions

Copy link
Copy Markdown

Revision: 290cdba

Submitted crossbow builds: ursacomputing/crossbow @ actions-d1d168f413

TaskStatus
java-jarsGitHub Actions

@lidavidm

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: 290cdba

Submitted crossbow builds: ursacomputing/crossbow @ actions-d90628c846

TaskStatus
java-jarsGitHub Actions
test-conda-python-3.10-spark-v3.5.0GitHub Actions
test-conda-python-3.11-spark-masterGitHub Actions
test-conda-python-3.8-spark-v3.5.0GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64GitHub Actions
verify-rc-source-java-macos-amd64GitHub Actions

@vibhatha

Copy link
Copy Markdown
Contributor

@lidavidm seems like java-jars is passing 🎉

@vibhathavibhatha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI's are passing. And PR LGTM!

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit e3cd0ae.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them.

vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
…1628)
### Rationale for this change
The commit in question caused a lot of CI issues
### Are these changes tested?
N/A
### Are there any user-facing changes?
N/A
* GitHub Issue: apache#41571
Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
…1628)
### Rationale for this change
The commit in question caused a lot of CI issues
### Are these changes tested?
N/A
### Are there any user-facing changes?
N/A
* GitHub Issue: apache#41571
Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lidavidm@vibhatha@felipecrv