[
https://issues.apache.org/jira/browse/HDDS-12724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-12724:
------------------------------------
Target Version/s: 2.0.0 (was: 2.0.0, 2.1.0)
> hdds-rocks-native build fails if JAVA_HOME not set
> --------------------------------------------------
>
> Key: HDDS-12724
> URL: https://issues.apache.org/jira/browse/HDDS-12724
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: build
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.1.0
>
>
> {code}
> $ echo $JAVA_HOME
> $ mvn -am -pl :hdds-rocks-native -Drocks_tools_native
> -Dtest='TestManagedRawSSTFileIterator,TestNativeLibraryLoader' clean verify
> ...
> Failed to execute goal org.codehaus.mojo:native-maven-plugin:1.0-M1:javah
> (default) on project hdds-rocks-native: Error running javah command
> ...
> Caused by: IOException: Cannot run program
> "/var/maven/app/hadoop-hdds/rocks-native/${env.JAVA_HOME}/bin/javah" (in
> directory "/var/maven/app/hadoop-hdds/rocks-native"): error=2, No such file
> or directory
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]