Use the following instructions to install HDP on your cluster hardware. Ensure that you specify the virtual machines(configured in the previous section) as your NameNode and as your JobTracker.
Download Hortonworks Data Platform (HDP) using the instructions provided here.
Use the fully qualified domain name (FQDN) of the virtual machine for configuring the host names (see: Installing, Configuring, and Deploying the Cluster - Assign Masters.).
![[Note]](../common/images/admon/note.png)
Note HDP might not identify the NameNode or JobTracker VMs automatically and it is therefore important to note down FQDN (IP address and DNS name) of these VMs.
Specify shared storage for the NameNode’s directories (see: HDP (Ambari) - Customize Services).
Do not use the NameNode VM for running any other master daemon.
Do not use the JobTracker VM for running any other master daemon.
While deploying Ambari, add the following custom configuration parameters for Full-Stack HA for both the NameNode and the JobTracker.
Add the following properties and values to custom
hdfs-sitesection on the dashboard:Table 3.1. Custom properties for hdfs-site section Key Value Notes dfs.client.retry.policy.enabledtrue Enable the HDFS client retry policy. dfs.namenode.edits.toleration.length8192 Configure protection for NameNode edit log. dfs.safemode.extension10 Configure safe mode extension time. dfs.persist.blockstrue Ensure that the allocated DFS blocks persist across multiple fail overs. dfs.blockreport.initialDelay10 Configure delay for first block report. Add the following properties and values to custom
mapred-sitesection on the dashboard:Table 3.2. Custom properties for mapred-site section Key Value Notes mapreduce.jt.hdfs.monitor.enabletrue Enable the JobTracker’s safe mode functionality. mapreduce.jobclient.retry.policy.enabledtrue Enable retry for JobTracker clients (when the JobTracker is in safe mode). mapred.jobtracker.restart.recovertrue Enable recovery of JobTracker’s queue after it is restarted. Add the following properties and values to custom
core-sitesection on the dashboard:Table 3.3. Custom properties for core-site section Key Value Notes fs.checkpoint.period3600 Configure checkpoint interval so that the checkpoint is performed on an hourly basis.

