Chapter 5. Validating the Installation

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.

  1. Start HDP services:

    %HADOOP_NODE_INSTALL_ROOT%\start_remote_hdp_services.cmd
  2. Open command prompt and execute cmd as hadoop user:

    runas /user:hadoop cmd
  3. 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 /user/smoketestuser

  4. Open a command prompt and run the smoke tests as the hadoop user:

    runas /user:hadoop "cmd /K
    %HADOOP_NODE%\Run-SmokeTests.cmd"

    (You can 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:

  1. Check whether the Database RANGER_ADMIN_DB_NAME is present in the MySQL server running on RANGER_ADMIN_DB_HOST

  2. Check whether the Database RANGER_AUDIT_DB_NAME is present in the MySQL server running on RANGER_AUDIT_DB_HOST

  3. Check whether the “ranger-admin” service is installed in services.msc

  4. Check whether the ranger-usersync service is installed in services.msc

  5. If you plan to use the Ranger Administration Console with the UserSync feature, check whether both services start.

  6. Go to the Ranger Administration Console host URL and make sure you can log in using the default user credentials.

    [Important]Important

    If you see installation failures for any HDP component, we recommend that you reinstall HDP.


loading table of contents...