This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample script to deploy HDF via blueprint | |
# - Installs Ambari server/agents | |
# - Builds/installs requested HDF mpack version (based on build number) | |
# - Uses ambari-bootstrap to generate blueprint based on stack advisor recommendation and starts cluster install | |
# - Optionally: installs KDC, sets up postgres for Ranger, allows customizations of config properties and number of Nifi nodes | |
# | |
# Usage: Run below to invoke this script. You can customize the functionality by setting env vars e.g. | |
# wget https://gist.github.com/abajwa-hw/ae4125c5154deac6713cdd25d2b83620/raw -O setup_hdf_blueprint.sh ; chmod +x setup_hdf_blueprint.sh; export hdf_build=493; export host_count=3; export install_nifi_on_all_nodes=true; export use_default_configs=false; ./setup_hdf_blueprint.sh ; | |
# Note for multi-node install, you will need to install/register agents on other nodes first using below (replace <AMBARI_SERVER_HOSTNAME>) |