New Contributor
Posts: 5
Registered: ‎09-09-2015
Accepted Solution

HA Nameservice using Cloudera Director

[ Edited ]

I'm trying to use Cloudera Director to create our cluster. We have 2 masters and I want to have NameNode on both of them with HA enabled.


I can't find anything in the documentation about HA and specifing the name of the nameservice in the documentation and the git script at doesn't really look like it makes sense.


Is there any documentation on writing the conf file to support HA?




Cloudera Employee
Posts: 82
Registered: ‎10-28-2014

Re: HA Nameservice using Cloudera Director

Hi Owen,

Thanks for trying out Director.

Have you read the co-located with the conf file you linked?
This git repo provides scripts (written in python or groovy) that you can
use to enable HA for HDFS on a newly created cluster. The scripts,
allow you to specify the nameservice on the command line.

Director 1.5 and Cloudera Manager 5.4 do not support pre-configuring HDFS
for HA at cluster creation time. The provided scripts will invoke a command
on Cloudera Manager to enable HA for an existing HDFS service. Director
will not have any knowledge about the role changes that result from these
scripts, but could still be used for growing and shrinking worker nodes.
Full HA support at cluster creation time is being worked on for a future
release of Director.

New Contributor
Posts: 5
Registered: ‎09-09-2015

Re: HA Nameservice using Cloudera Director

Hi David


Thats embarrassing - I went straight to the script and didn't register there was more to it.


Thanks for coming back to me, great help.