Start Ranger. Execute the following commands on the Ranger host machine:

sudo service ranger-admin start
sudo service ranger-usersync start

Start Knox. When starting the gateway with the script below, the process runs
in the background. The log output is written to /var/log/knox and a PID (process ID) is written to /var/run/knox. Execute this command on the Knox
host machine.

su -l knox -c "/usr/hdp/current/knox-server/bin/gateway.sh start"

Note

If Knox has been stopped without using gateway.sh stop, you must start the
service using gateway.sh clean. The clean option removes all log files in
/var/log/knox.

Start ZooKeeper. Execute this command on the ZooKeeper host machine(s):

If you are running NameNode HA, start the ZooKeeper Failover Controller (ZKFC) by executing the following command on all NameNode machines. The starting sequence of the ZKFCs determines which NameNode will become Active.

If you are not running NameNode HA, execute the following command on the Secondary NameNode host machine. If you are running NameNode HA, the Standby NameNode takes on the role of the Secondary NameNode.

This command starts several subprocesses corresponding to the different Hue
components. Even though the root user is the one calls the
init.d script, the actual process runs with the Hue
user.

Start Storm services using a process controller, such as supervisord. See "Installing and Configuring Apache Storm" in the
Non-Ambari Cluster Installation Guide. For example, to start the
storm-nimbus service: