iwasakims opened a new pull request, #1335: URL: https://github.com/apache/bigtop/pull/1335
https://issues.apache.org/jira/browse/BIGTOP-4382 Updating java alternatives fails on applying toolchain manifest. ``` #7 2103.5 ESC[mNotice: /Stage[main]/Bigtop_toolchain::Installer/Exec[ensure java 8 is set as default]/returns: java-1.8.0-openjdk.x86_64 has not been configured as an alternative for javaESC[0m #7 2103.5 ESC[1;31mError: 'update-alternatives --set java java-1.8.0-openjdk.$(uname -m) && update-alternatives --set javac java-1.8.0-openjdk.$(uname -m)' returned 2 instead of one of [0]ESC[0m #7 2103.5 ESC[1;31mError: /Stage[main]/Bigtop_toolchain::Installer/Exec[ensure java 8 is set as default]/returns: change from 'notrun' to ['0'] failed: 'update-alternatives --set java java-1.8.0-openjdk.$(uname -m) && update-alternatives --set javac java-1.8.0-openjdk.$(uname -m)' returned 2 instead of one of [0]ESC[0m ``` The cause is unavailable family name in the latest java-1.8.0-openjdk-devel package. The fix is to add fedora specific conditional. The patch includes refactoring that moves resources for jdk8 to jdk.pp. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
