-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-19615. Upgrade os-maven-plugin to 1.7.1 to support riscv64 #7796
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
base: trunk
Are you sure you want to change the base?
Conversation
💔 -1 overall
This message was automatically generated. |
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.
Some issue with the build, can you rebase and push again to trigger the CI again. I am +1 if the build comes clean
Thank you for the review and the +1. I’ll rebase and push again to re-trigger the CI. |
💔 -1 overall
This message was automatically generated. |
@ayushtkn Hi,
This suggests that the JVM was unable to create a new native thread, which may be related to resource constraints in the CI environment. I understand that the likelihood of this PR introducing the issue is relatively low, given the minimal change involved. Would you mind helping to confirm whether this could be a CI environment issue? Thanks so much for your time! |
Description of PR
When building Hadoop on the riscv64 architecture, the current version of os-maven-plugin (1.7.0) fails with the following error:
This indicates that version 1.7.0 does not recognize or support the riscv64 target, causing native or plugin-based build failures.
Upgrading os-maven-plugin to version 1.7.1 resolves the issue. The newer version includes updated architecture detection logic and supports riscv64 without error.
How was this patch tested?
mvn package -Pdist,native -DskipTests -Dtar
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?