= Install Hadapt =
# Transfer Hadapt RPM to Hadoop Master node
# Log into your Hadoop Master node as root
# Install the Hadapt RPM package
rpm -i hadapt-mapr-3.0.0-1.x86_64.rpm
# Place a default config file in /etc/hadapt/hadapt.cfg
# Configure Zookeeper, replace datanode_n with addresses for your Hadoop data nodes. If you have a pre-existing Zookeeper installation, please point this configuration to that node.
hadapt-admin configure zookeeper localhost:2181
# Deploy Hadapt to the rest of your Hadoop data nodes
hadapt-admin deploy package /path/to/hadapt-mapr-3.0.0-1.x86_64.rpm –n datanode_1 datanode_2 datanode_3
# Deploy configuration files to rest of nodes. Replace references to datanode_n with your Hadoop data nodes.
hadapt-admin deploy settings –p –z –n datanode_1 datanode_2 datanode_3
# Assign Hadapt roles to your nodes. Replace references as appropriate. The –p passive node parameter is optional, and should be pointed to a node that is not the Master.
hadapt-admin configure suites –f hadapt_master –p hadapt_backup –b datanode_1 datanode_2 datanode_3
# Initialize Hadapt services
hadapt-admin initialize all
# Start Hadapt
hadapt-admin start all