简体   繁体   English

Apache Hue或Apache Ambari-如何手动安装和配置它们

[英]Apache Hue or Apache Ambari - how to install and configure them manually

I am seting up 5 node hadoop 2.5.1 cluster with zookeeper, oozie, hive and hbase. 我正在使用Zookeeper,oozie,hive和hbase设置5节点hadoop 2.5.1集群。 I currently have hadoop 2 and zookeeper installed and running. 我目前已经安装并运行了hadoop 2和zookeeper。 I want to setup some kind of UI management for all the services so I can monitor health and do admin tasks from it. 我想为所有服务设置某种类型的UI管理,以便可以监视运行状况并从中执行管理任务。 I see all documents for Ambari and Hue are geared towards Hortornworks and Cloudera respectively. 我看到有关Ambari和Hue的所有文档分别针对Hortornworks和Cloudera。 Is there any step-by-step guide for either of these UI console that tells me how to configure them for my existing hadoop services ? 这些UI控制台中是否有任何循序渐进的指南,可告诉我如何为现有的hadoop服务配置它们?

Hue has this blog post about how to integrate with any cluster. Hue撰写了有关如何与任何集群集成的博客文章

We also recommend this doc . 我们也推荐此文档 It says Cloudera but this is the same instruction for any Hadoop (as Hue uses only standard APIs). 它说的是Cloudera,但这对任何Hadoop都是相同的说明(因为Hue仅使用标准API)。

Officialy, Ambari does not support installation on an existing cluster. 正式而言,Ambari不支持在现有群集上进行安装。 When you install it you have to remove previous hadoop components. 安装时,您必须删除以前的hadoop组件。 As mentioned on Ambari FAQ Installing a new cluster on top of an existing cluster Ambari常见问题解答所述,在现有群集之上安装新群集

When installing a Hadoop cluster via Ambari on hosts that already have Hadoop bits installed (including an existing cluster deployed via Ambari), perform the following: 通过Ambari在已安装Hadoop位的主机(包括通过Ambari部署的现有集群)上安装Hadoop集群时,请执行以下操作:

Stop all the services on all the nodes(including ganglia and nagios)
It is also a good practice to delete the rpms from all nodes.

search for the rpms:
rpm -qa | grep ganglia
rpm -qa | grep oozie
rpm -qa | grep sqoop
rpm -qa | grep pig
rpm -qa | grep nagios
rpm -qa | grep hadoop

and remove them :
rpm -e <package name>

Hortonworks documentation provides Hue install instructions as well : Hortonworks文档还提供了Hue安装说明:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/bk_installing_manually_book-20150721.pdf https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/bk_installing_manually_book-20150721.pdf

Chapter 14. Installing Hue Chapter 14.安装Hue

Hue requires services to be stopped on cluster, no need to remove them like Ambari install requires. Hue要求在群集上停止服务,而无需像Ambari安装要求那样将其删除。

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

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