Installing Hadoop Using Apache Ambari
Copyright © 2012, 2013 Hortonworks, Inc.
Except where otherwise noted, this document is licensed under Creative Commons Attribution ShareAlike 3.0 License |
2013-04-02
Abstract
The Hortonworks Data Platform, powered by Apache Hadoop, is a massively scalable and 100% open source platform for storing, processing and analyzing large volumes of data. It is designed to deal with data from many sources and formats in a very quick, easy and cost-effective manner. The Hortonworks Data Platform consists of the essential set of Apache Hadoop projects including MapReduce, Hadoop Distributed File System (HDFS), HCatalog, Pig, Hive, HBase, Zookeeper and Ambari. Hortonworks is the major contributor of code and patches to many of these projects. These projects have been integrated and tested as part of the Hortonworks Data Platform release process and installation and configuration tools have also been included.
Unlike other providers of platforms built using Apache Hadoop, Hortonworks contributes 100% of our code back to the Apache Software Foundation. The Hortonworks Data Platform is Apache-licensed and completely open source. We sell only expert technical support, training and partner-enablement services. All of our technology is, and will remain free and open source.
Please visit the Hortonworks Data Platform page for more information on Hortonworks technology. For more information on Hortonworks services, please visit either the Support or Training page. Feel free to Contact Us directly to discuss your specific needs.
Contents
- 1. Getting Ready to Install
- 2. Running the Installer
- 3. Installing, Configuring, and Deploying the Cluster
- 4. Troubleshooting Ambari Deployments
- 1. Getting the Logs
- 2. Quick Checks
- 3. Specific Issues
- 3.1. Problem: Browser crashed before Install Wizard completed
- 3.2. Problem: Install Wizard reports that the cluster install has failed
- 3.3. Problem: “Unable to create new native thread” exceptions in HDFS DataNode logs or those of any system daemon
- 3.4. Problem: The “yum install ambari-server” Command Fails
- 3.5. Problem: HDFS Smoke Test Fails
- 3.6. Problem: The HCatalog Daemon Metastore Smoke Test Fails
- 3.7. Problem: MySQL and Nagios fail to install on RightScale CentOS 5 images on EC2
- 3.8. Problem: Trouble starting Ambari on system reboot
- 3.9. Problem: Metrics and Host information display incorrectly in Ambari Web
- 3.10. Problem: On SUSE 11 Ambari Agent crashes within the first 24 hours
- 3.11. Problem: Attempting to Start HBase REST server causes either REST server or Ambari Web to fail
- 3.12. Problem: Multiple Ambari Agent processes are running, causing re-register
- 3.13. Problem: Some graphs do not show a complete hour of data until the cluster has been running for an hour
- 3.14. Problem: After performing a cluster install the Nagios server is not started
- 3.15. Problem: A service with a customized service user is not appearing properly in Ambari Web
- 3.16. Problem: Updated configuration changes are not pushed to client/gateway nodes
- 5. Appendix: Installing Ambari Agents Manually
- 6. Appendix: Using Custom Hostnames
- 7. Appendix: Upgrading Operating Systems on an Ambari-based Hadoop Installation
- 8. Appendix: Upgrading Ambari Server from 1.2.0/1.2.1/1.2.2 to 1.2.2.5
- 9. Appendix: Upgrading the HDP Stack from 1.2.0 to 1.2.1
- 10. Configuring Ports
List of Tables
- 2.1. Download the repo
- 2.2. Ambari Server Properties
- 3.1. HDFS Settings:NameNode
- 3.2. HDFS Settings:SNameNode
- 3.3. HDFS Settings:DataNodes
- 3.4. HDFS Settings:General
- 3.5. HDFS Settings:Advanced
- 3.6. MapReduce Settings: JobTracker
- 3.7. MapReduce Settings: TaskTracker
- 3.8. MapReduce Settings: General
- 3.9. MapReduce Settings: Advanced
- 3.10. Hive/HCat Settings: Hive Metastore
- 3.11. Hive/HCat Settings: Advanced Settings
- 3.12. WebHCat Settings: Advanced Settings
- 3.13. HBase Settings: HBase Master
- 3.14. HBase Settings: RegionServer
- 3.15. HBase Settings: General
- 3.16. HBase Settings: Advanced
- 3.17. ZooKeeper Settings: ZooKeeper Server
- 3.18. ZooKeeper Settings: Advanced
- 3.19. Oozie Settings: Oozie Server
- 3.20. Oozie Settings: Advanced
- 3.21. Nagios Settings:General
- 3.22. Misc Settings:Users/Groups
- 6.1. ambari-agent.ini
- 10.1. HDFS Ports
- 10.2. MapReduce Ports
- 10.3. Hive Ports
- 10.4. HBase Ports
- 10.5. WebHCat Port
- 10.6. Ganglia Ports
- 10.7. MySQL Ports