简体   繁体   English

通过Ubuntu 14.04手动安装Hadoop多节点集群

[英]Hadoop multi-node cluster manual installation over Ubuntu 14.04

I am a newcomer to Hadoop. 我是Hadoop的新手。 For my College project we are given 4 VMs. 对于我的College项目,我们有4个VM。 I need to configure a multi-mode Hadoop cluster on this ( 1 master 3 slaves) and run my webapp on it. 我需要在该服务器上配置一个多模式Hadoop集群(1个主服务器3个从属服务器)并在其上运行我的webapp。 I would be using HBase in my project. 我将在项目中使用HBase。 Usually CentOS is used for installation and deployment of HDP, whereas I was given ubuntu. 通常CentOS用于HDP的安装和部署,而我则被赋予ubuntu。 I cannot use Apache ambari plugin for installation as it is not supported in Ubuntu. 我无法使用Apache ambari插件进行安装,因为Ubuntu不支持该插件。 I need to manually deploy them, Hence I tried looking out for tutorials. 我需要手动部署它们,因此我尝试寻找教程。 I looked out for a tutorial to install HDP multinode clusters on ubuntu and found this [ http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/] But its too outdated (2010) 我寻找了一个在ubuntu上安装HDP多节点集群的教程,发现了这个[ http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/],但是太过时了(2010)
I have the official documentation here, but I am not able to follow it properly. 我在这里有官方文档,但是我无法正确遵循它。
[ http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1-latest/bk_installing_manually_book/content/rpm-chap2-3.html] and I tried following them. [ http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1-latest/bk_installing_manually_book/content/rpm-chap2-3.html] ,我尝试关注它们。

Could someone suggest me somelinks which are latest, a tutorial with decent amount of screenshots for installation of multinode clusters over Ubuntu 14.04 ( 12.04 is also fine). 有人可以向我建议一些最新的链接,该教程提供了相当数量的屏幕快照,用于在Ubuntu 14.04上安装多节点集群(也可以使用12.04)。

Thanks a lot!! 非常感谢!!

The Michael Noll tutorial is too old, I think. 我认为Michael Noll教程太旧了。 I found this site: 我找到了这个网站:

I have a mini cluster (with 5 slaves and a master) in my University Lab. 我的大学实验室中有一个小型集群(带有5个从属和一个主控)。 Ubuntu 12.04 and Hadoop 2.5.0 is there. Ubuntu 12.04和Hadoop 2.5.0在那里。 Furthermore, I have a VM cluster in my laptop (2 slaves and a master) of Hadoop 1.2.1 on Ubuntu 12.04 too. 此外,我在Ubuntu 12.04上的Hadoop 1.2.1笔记本电脑中也有一个VM群集(两个从属和一个主控)。

But I couldn't install Hadoop (any version) in Ubuntu 14.04. 但是我无法在Ubuntu 14.04中安装Hadoop(任何版本)。 I don't remember the cause, but I think it was some problem with Java version (I don't check that). 我不记得原因,但是我认为这是Java版本的问题(我不检查)。

I hope that help you! 希望对您有所帮助!

I can across the same issue to install HDP 2.2 on Ubuntu 14.04, and found a solution. 我可以在同一问题上在Ubuntu 14.04上安装HDP 2.2,并找到了解决方案。 I documented everything here: http://www.swiss-scalability.com/2014/12/install-hdp-22-on-ubuntu-1404-trusty.html 我在这里记录了所有内容: http : //www.swiss-scalability.com/2014/12/install-hdp-22-on-ubuntu-1404-trusty.html

In a nutshell, the magic happens here: 简而言之,魔术发生在这里:

sed -e "s/14.04/12.04/g" -i /etc/*-release

And the you can install or restart ambari-agent, it will be able to communicate with ambari-server. 并且您可以安装或重新启动ambari-agent,它将能够与ambari-server通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM