Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HDFS HA not working

avatar
Explorer

Hi,

 

I am trying manually to set up hdfs ha with no luck.. I do everything exactly like here: http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cmug_topic_5_12_unique_... but at the end, I'll get this error:

 

INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Determined nameservice ID: mycluster
INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Configured NNs:

142 ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem initialization failed.
java.io.IOException: Invalid configuration: a shared edits dir must not be specified if HA is not enabled.

 

Why ha enabled is false and system doesn't see my NNs (nn1,nn2).

 

Please advice me, what am i doing wrong...

 

 

1 ACCEPTED SOLUTION

avatar
Explorer

It is  working!  There was some misspelling or something in configuration, because next morning after good sleep, I tried once again and got running.

View solution in original post

3 REPLIES 3

avatar
Mentor
Can you share your problematic core-site.xml and hdfs-site.xml contents here?

avatar
Explorer

It is  working!  There was some misspelling or something in configuration, because next morning after good sleep, I tried once again and got running.

avatar
New Member

Hi,

I am facing same error or problem, what was that property you mis-spelled or wrote incorrectly ? Please mention.

 

Maoj