[翻譯]Ambari,hadoop的配置,管理和監控項目入門


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

讓我們開始和大數據共舞吧!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM