After the HDP Cluster installation is completed, run the provided smoke tests to validate the installation. These tests validate installed functionality by executing a set of tests for each HDP component.
Create a smoketest user directory in HDFS, if one does not already exist:
%HADOOP_HOME%\bin\hdfs dfs -mkdir -p /user/smoketestuser %HADOOP_HOME%\bin\hdfs dfs -chown -R smoketestuser
Open a command prompt and run the smoke tests as the hadoop user:
runas /user:hadoop "cmd /K %HADOOP_HOME%\Run-SmokeTests.cmd"
(You might also create a smoketest user in HDFS as described in Appendix: Adding a Smoketest User, and then run the tests as the smoketest user.)
(Optional) If you installed Ranger, verify that the installation was successful using any or all of the following checks:
Check whether the Database
RANGER_ADMIN_DB_NAME
is present in the MySQL server running onRANGER_ADMIN_DB_HOST
Check whether the Database
RANGER_AUDIT_DB_NAME
is present in the MySQL server running onRANGER_AUDIT_DB_HOST
Check whether the “ranger-admin” service is installed in
services.msc
Check whether the
ranger-usersync
service is installed inservices.msc
If you plan to use the Ranger Administration Console with the UserSync feature, check whether both services start.
Go to the Ranger Administration Console host URL and make sure you can log in using the default user credentials.
Important If you see installation failures for any HDP component, we recommend that you reinstall HDP.