Step 5: Set Environment Variables

Before starting ZooKeeper or Warden, you must complete this step.

Set Environment Variables for the cluster. The /opt/mapr/conf/ script looks for the directory where Java is installed and sets JAVA_HOME automatically. However, if you need to specify a different location for JAVA_HOME, edit /opt/mapr/conf/ This variable must be set before starting ZooKeeper or Warden.