[ 
https://issues.apache.org/jira/browse/HDDS-12724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939750#comment-17939750
 ] 

Attila Doroszlai commented on HDDS-12724:
-----------------------------------------

[~weichiu], if a new RC for 2.0.0 is needed for any other issue, I would like 
to include this one, too.  Otherwise we can include it in 2.0.1.

> 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: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to