Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1184641
  • 博文数量: 259
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2518
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-13 16:12
个人简介

科技改变世界,技术改变人生。

文章分类

全部博文(259)

分类: HADOOP

2015-09-24 14:35:53

默认状态ambari安装完成后,Namenode并不是HA状态,需要手动增加HA服务,操作如下:

How To Configure NameNode High Availability

1.Check to make sure you have at least three hosts in your cluster and are running at least three ZooKeeper servers.

2.Check to make sure that the HDFS and ZooKeeper services are not in Maintenance Mode.

3.These services will be stopped and started when enabling NameNode HA. Maintenance Mode will prevent those start and stop operations from occurring. If the HDFS or ZooKeeper services are in Maintenance Mode the NameNode HA wizard will not complete successfully.

4.In Ambari Web, select Services > HDFS > Summary. (重点,很多朋友找不到开启HA服务的位置)

5.Select Service Actions and choose Enable NameNode HA.

6.The Enable HA Wizard launches. This wizard describes the set of automated and manual steps you must take to set up NameNode high availability.

7.Get Started : This step gives you an overview of the process and allows you to select a Nameservice ID. You use this Nameservice ID instead of the NameNode FQDN once HA has been set up. Click Next to proceed.

后续内容参考下官网,英文不好的使用翻译软件,不难。

官网原文参考:
http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Users_Guide/content/_how_to_configure_namenode_high_availability.html
阅读(2662) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~