Fork me on GitHub
hortonworks

原文链接: http://hortonworks.com/kb/get-started-setting-up-ambari/

Ambari is 100% open source and included in HDP, greatly simplifying installation and initial configuration of Hadoop clusters. In this article we’ll be running through some installation steps to get started with Ambari. Most of the steps here are covered in the main HDP documentation here.

Ambari 是一款100%开源的,包含于HDP平台,使得安装和初始化hadoop集群配置的项目。这篇文章我们将介绍Ambari的安装步骤。这里的大部分内容都包含在HDP的文档中。

The first order of business is getting Ambari Server itself installed. There are different approaches to this, but for the purposes of this short tour, we’ll assume Ambari is already installed on its own dedicated node somewhere or on one of the nodes on the (future) cluster itself. Instructions can be found under the installation steps linked above. Once Ambari Server is running, the hard work is actually done. Ambari  simplifies cluster install and initial configuration with a wizard interface, taking care of it with but a few clicks and decisions from the end user. Hit http://<server_you_installed_ambari>:8080 and log in with admin/admin. Upon logging in, we are greeted with a user-friendly, wizard interface. Welcome to Apache Ambari! Name that cluster and let’s get going.

第一步安装Ambari服务端,我们简单的讲,我们假设Ambari服务端已经成功的安装在专有的节点上,这个节点是集群的一部分。安装方法在上面提到的连接里面。当Ambari服务端运行的时候,负责的工作已经开始了。Ambari提供一个友好的交互入口来简化集群的安装和配置,轻松的操作即可完成配置,具体是,登陆你的节点 http://ip:8080/   然后使用 admin/admin 登陆系统。登陆后给集群起个名字。

Screen Shot 2013-03-29 at 3.12.16 PM

Now we can target hosts for installation with a full listing of host names or regular expressions (in situations when there are many nodes with similar names):

现在我们来配置机器列表(可以使用正则来匹配类似机器名的节点)

Screen Shot 2013-03-29 at 3.13.20 PM

The next step is node registration, with Ambari doing all of the heavy lifting for us. An interface to track progress and drill down into log files is made available:

接下来是注册节点,Ambari帮我们做了,提供一个接口可以查看执行进程,

Screen Shot 2013-03-29 at 3.22.53 PM

Upon registration completion, a detailed view of host checks run and options to re-run are also available:

当注册完成后,检测当前的机器状态

Screen Shot 2013-03-29 at 3.22.57 PM

Next, we select which high level components we want for the cluster. Dependency checks are all built in, so no worries about knowing which services are pre-requisites for others:

接下来,我们选择我们需要安装的模块,内置了依赖检查

Screen Shot 2013-03-29 at 3.23.26 PM

After service selection, node-specific service assignments are as simple as checking boxes:

接下来服务选择,方便定制

Screen Shot 2013-03-29 at 3.24.00 PM

This is where some minor typing may be required. Ambari allows simple configuration of the cluster via an easy to use interface, calling out required fields when necessary:

这里只需要一些简单的输入.当你需要安装服务的时候,Ambari支持在页面上进行便捷的配置.

Screen Shot 2013-03-29 at 3.24.24 PM

Once configuration has been completed, a review pane is displayed. This is a good point to pause and check for anything that requires adjustment. The Ambari wizard makes that simple. Things look fabulous here, though, so onwards!

当配置完成后,预览将会被隐藏. 这是暂停并开始检测依赖.Ambari引导使得这个显得很简单.虽然刚刚起步,但是看上去很赞.

Screen Shot 2013-03-29 at 3.24.40 PM

Ambari will now execute the actual installation and necessary smoke tests on all nodes in the cluster. Sit back and relax, Ambari will perform the heavy lifting yet again:

Ambari现在开始支持在集群的所有节点的真实环境下的安装和一些必要的冒烟测试. 坐着放松吓,让Ambari开始做这些繁重的琐事.

Screen Shot 2013-03-29 at 3.38.15 PM

If you are itching to get involved, detailed drill-downs are available to monitor progress:

如果你想在检查下,可以讲这些过程在监控进程中查看到.

Screen Shot 2013-03-29 at 3.38.18 PM

 

Screen Shot 2013-03-29 at 3.38.23 PM

Ambari tracks all progress and activities for you, dynamically updating the interface:

Ambari收集所有进程和活动数据,并动态的更新到页面上:

Screen Shot 2013-03-29 at 3.44.45 PM

And just like that, we have our Hortonworks Data Platform Cluster up and running, ready for that high priority POC:

如下看到的,你已经讲HDP跑起来了,准备开始干活...

final

Go forth and prosper, my friends. May the (big) data be with you.

让我们开始和大数据共舞吧!

 
 
标签: 安装Ambari翻译
摘要: 本文结合自己对Ambari的安装实践体验,强烈的推荐大家通过Ambari来安装配置和监控Hadoop集群,通过Ambari可以节省时间,也能够了解到Hadoop相关的其他产品Hbase/Hive等的安装和使用情况.免去了配置相关的困恼,让您能够集中精力处理处理好自己的业务. 通过监控来很好的了解Hadoop集群的性能相关,能给调优带来很大帮助,推荐尝试下Ambari! 推荐!阅读全文
posted @ 2013-05-18 12:07 xinqiyang 阅读(231) | 评论 (1) 编辑
 
摘要: Ambari安装文档翻译阅读全文
posted @ 2013-05-18 10:55 xinqiyang 阅读(17) | 评论 (0) 编辑
 
摘要: 学习了下php通过thrift操作HBase,接下来,有时间的话,会做下其他的几个操作,并进行压力测试,并将这个部署到集群中去. 大家有用Thrift的欢迎交流,感谢hguisu写的这个文章(参考文章),让大家能够尽快的入门.阅读全文
posted @ 2013-05-16 09:54 xinqiyang 阅读(70) | 评论 (0) 编辑
 
摘要: HBaseXplorer 1.0.2 是一款 HBase 图形化管理工具. 提供了 0.94.* 和0.20.* 的新旧版本的开发.提供了丰富的配置,发布开发中查看HBase修改的数据.阅读全文
posted @ 2012-12-18 23:50 xinqiyang 阅读(490) | 评论 (6) 编辑
 
摘要: Hadoop2.0集群配置教程,作为一个集群的测试配置教程,旨在尝试和旨在测试HTTPFS的restful接口的特性。旨在使用hadoop2.0的新特性,尝试hadoop,动手能力也得到提高,经过测试之后也能用到实际的产品中。开始动手吧阅读全文
posted @ 2012-09-18 00:10 xinqiyang 阅读(5471) | 评论 (5) 编辑
posted on 2013-05-19 12:08  HackerVirus  阅读(303)  评论(0编辑  收藏  举报