Skip to content

Hortonworks fails to create namenode high availability

by on August 3, 2015

We’re working for more than a day to solve this out, until we’ve found how to work around it.

We have Ambari 1.6.1 running HDP 2.1 (quiet old, but this is what our customer has).

Issue:
When one tries to enable HA for namenode, the is a nice wizard telling you to do this and that.
On step 4 we should do:

hdfs dfsadmin -safemode enter
hdfs dfsadmin -saveNamespace

and then wait till the checkpoint is created.
But the checkpoint is never detected.

We even found a jira about this:

Ambari NN HA wizard cannot detect checkpoint” – https://issues.apache.org/jira/browse/AMBARI-7220

But the fix is in Ambari 1.7.0 – which does not support HDP 2.1 :-(

Solution:

We’ve copied the URL to another tab in the browser and just changed the step number:
http://host:8080/#/main/admin/highAvailability/enable/step5

Than we could continue with the wizard.

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: