Attila Doroszlai created HDDS-12724:
---------------------------------------

             Summary: 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: Bug
          Components: build
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{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]

Reply via email to