A comprehensive automation tool for deploying Apache Ambari and Hadoop ecosystem components, supporting both Docker-based development environments and production-grade bare metal/VM deployments.
Flexible Deployment Options
Component Support
Advanced Configuration
System Requirements
Package Setup
# Install dependencies (CentOS/Rocky Linux) sh deploy_py/shell/utils/setup-env-centos.sh false # Setup Python environment source setup_pypath.sh
Configure deployment
cp conf/base_conf.yml.template conf/base_conf.yml
Update configuration in base_conf.yml
repo_pkgs_dir: "/path/to/ambari/packages" components_to_install: ["hbase","hdfs","yarn","hive","zookeeper","ambari"] docker_options: instance_num: 4 memory_limit: "16g" components_port_map: AMBARI_SERVER: 8083
Start deployment
python3 deploy_py/main.py -docker-deploy
Configure hosts
/etc/hosts
with cluster informationGenerate configuration
python3 deploy_py/main.py -generate-conf
Start deployment
nohup python3 deploy_py/main.py -deploy & tail -f logs/ansible-playbook.log
base_conf.yml
)# Default password default_password: 'your-secure-password' # Data directories data_dirs: ["/data/sdv1"] # Component selection components_to_install: ["hbase","hdfs","yarn","hive","zookeeper","ambari"] # Cluster configuration cluster_name: 'cluster' hdfs_ha_name: 'ambari-cluster' ambari_server_port: 8080 # Stack version stack_version: '3.3.0'
Access Ambari Web UI:
http://<ambari-server>:8080 Default credentials: Username: admin Password: <configured_password>
Common issues and solutions:
Ambari Agent Registration
Component Installation
We welcome contributions! Please follow these steps:
This project is licensed under the Apache License 2.0.