ARTICLE AD BOX
I am trying to install Hadoop, and several other tools, from Acceldatas platform, here: https://docs.acceldata.io/odp/documentation/release-notes-odp-3-3-6-3-1
When configuring ambari via 'ambari-server setup' and then executing 'ambari-server start' I get this error:
Using python /usr/bin/python3.11 Starting ambari-server java_home_type--:JavaHomeType.AMBARI jdkPath--:None INFO: Looking for available JDKs at /usr/jdk64 ERROR: Exiting with exit code 1. REASON: No JDK found, please run the "ambari-server setup" command to install a JDK automatically or install any JDK manually to /usr/jdk64As stated in the first link, it is made for JDK 17, and my JAVA_HOME is /usr/lib/jvm/java-17-openjdk and running
/usr/lib/jvm/java-17-openjdk/bin/java --version gives:
openjdk 17.0.18 2026-01-20 LTS OpenJDK Runtime Environment (Red_Hat-17.0.18.0.8-1) (build 17.0.18+8-LTS) OpenJDK 64-Bit Server VM (Red_Hat-17.0.18.0.8-1) (build 17.0.18+8-LTS, mixed mode, sharing)So in my eyes the java part works. I have specified /usr/lib/jvm/java-17-openjdk/bin/java to the ambari configuration, and have noticed that ambari looks in /usr/jdk64 according to the error message, so I made a symbolic link:
ln -s /usr/lib/jvm/java-17-openjdk/ /usr/jdk64With same result. I have also tried to configure ambari again, and then specifically providing /usr/jdk64 in the configuration, resulting in the same error.
For context, here is the most relevant part of the interactive setup in the console, where it asks for settings and the user defines them:
Using python /usr/bin/python3.11 Setup ambari-server Checking JDK... [1] Open JDK 11 [2] Custom JDK ============================================================================== Enter choice (1): 2 WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on all hosts. WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts. Path to JAVA_HOME: /usr/jdk64 Validating JDK on Ambari Server...done. Checking GPL software agreement... Completing setup...Now in the text above it references JDK 11, so I have tried out of desperation to remove java 17, installing java 11, and repeated the very same steps as mentioned above
It gives the exact same result.
Lastly, choosing option 1 and letting ambari handle java installation is not an option as it is not supported on my distribution and requires some Oracle specific stuff.
I am running Rocky Linux 8, and have installed all the prerequisites listed in the documentation.
