Hello Chandrashekhar,

Active namenode will write to require shared storage and will not write to 
HDFS.. Please check following docs for reference



When Sharedstorage is Journalnode:


<property>
  <name>dfs.namenode.shared.edits.dir</name>
  
<value>qjournal://node1.example.com:8485;node2.example.com:8485;node3.example.com:8485/mycluster</value>
</property>

http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html



When Sharedstorage is NFS:


<property>
  <name>dfs.namenode.shared.edits.dir</name>
  <value>file:///mnt/filer1/dfs/ha-name-dir-shared</value>
</property>


http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithNFS.html






Thanks & Regards

 Brahma Reddy Battula



________________________________
From: Chandrashekhar Kotekar [shekhar.kote...@gmail.com]
Sent: Thursday, February 12, 2015 5:01 PM
To: user@hadoop.apache.org
Subject: journal node shared edits directory should be present on HDFS or NAS 
or anything else?

Hi,

I am  trying to configure name node HA and I want to further configure 
automatic fail over. I am confused about 'dfs.namenode.shared.edits.dir' 
configuration.

Documentation says that "active namde node writes to shared storage." I would 
like to know if this means that name nodes write it on HDFS or do they require 
shared storage like NAS or SAN or something else.


Regards,
Chandrash3khar Kotekar
Mobile - +91 8600011455

Reply via email to