热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

[翻译]Ambari,hadoop的配置,管理和监控项目入门

原文链接:http:hortonworks.comkbget-started-setting-up-ambariAmbariis100%opensourceandinclud

原文链接: 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://: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.

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


推荐阅读
  • 本文介绍了在Linux下安装Perl的步骤,并提供了一个简单的Perl程序示例。同时,还展示了运行该程序的结果。 ... [详细]
  • HDFS2.x新特性
    一、集群间数据拷贝scp实现两个远程主机之间的文件复制scp-rhello.txtroothadoop103:useratguiguhello.txt推pushscp-rr ... [详细]
  • 本文介绍了在CentOS上安装Python2.7.2的详细步骤,包括下载、解压、编译和安装等操作。同时提供了一些注意事项,以及测试安装是否成功的方法。 ... [详细]
  • 本文介绍了在rhel5.5操作系统下搭建网关+LAMP+postfix+dhcp的步骤和配置方法。通过配置dhcp自动分配ip、实现外网访问公司网站、内网收发邮件、内网上网以及SNAT转换等功能。详细介绍了安装dhcp和配置相关文件的步骤,并提供了相关的命令和配置示例。 ... [详细]
  • IhaveconfiguredanactionforaremotenotificationwhenitarrivestomyiOsapp.Iwanttwodiff ... [详细]
  • 本文讨论了在Windows 8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。 ... [详细]
  • Centos7.6安装Gitlab教程及注意事项
    本文介绍了在Centos7.6系统下安装Gitlab的详细教程,并提供了一些注意事项。教程包括查看系统版本、安装必要的软件包、配置防火墙等步骤。同时,还强调了使用阿里云服务器时的特殊配置需求,以及建议至少4GB的可用RAM来运行GitLab。 ... [详细]
  • 如何使用Java获取服务器硬件信息和磁盘负载率
    本文介绍了使用Java编程语言获取服务器硬件信息和磁盘负载率的方法。首先在远程服务器上搭建一个支持服务端语言的HTTP服务,并获取服务器的磁盘信息,并将结果输出。然后在本地使用JS编写一个AJAX脚本,远程请求服务端的程序,得到结果并展示给用户。其中还介绍了如何提取硬盘序列号的方法。 ... [详细]
  • 关键词:Golang, Cookie, 跟踪位置, net/http/cookiejar, package main, golang.org/x/net/publicsuffix, io/ioutil, log, net/http, net/http/cookiejar ... [详细]
  • 本文介绍了在使用Python中的aiohttp模块模拟服务器时出现的连接失败问题,并提供了相应的解决方法。文章中详细说明了出错的代码以及相关的软件版本和环境信息,同时也提到了相关的警告信息和函数的替代方案。通过阅读本文,读者可以了解到如何解决Python连接服务器失败的问题,并对aiohttp模块有更深入的了解。 ... [详细]
  • 成功安装Sabayon Linux在thinkpad X60上的经验分享
    本文分享了作者在国庆期间在thinkpad X60上成功安装Sabayon Linux的经验。通过修改CHOST和执行emerge命令,作者顺利完成了安装过程。Sabayon Linux是一个基于Gentoo Linux的发行版,可以将电脑快速转变为一个功能强大的系统。除了作为一个live DVD使用外,Sabayon Linux还可以被安装在硬盘上,方便用户使用。 ... [详细]
  • 本文介绍了在Windows环境下如何配置php+apache环境,包括下载php7和apache2.4、安装vc2015运行时环境、启动php7和apache2.4等步骤。希望对需要搭建php7环境的读者有一定的参考价值。摘要长度为169字。 ... [详细]
  • phpcomposer 那个中文镜像是不是凉了 ... [详细]
  • IjustinheritedsomewebpageswhichusesMooTools.IneverusedMooTools.NowIneedtoaddsomef ... [详细]
  • This article discusses the efficiency of using char str[] and char *str and whether there is any reason to prefer one over the other. It explains the difference between the two and provides an example to illustrate their usage. ... [详细]
author-avatar
dnjaskn
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有