Hi Brahma Reddy, Thanks for the quick answer. It explains a lot but I have one more question. Maybe it is a stupid question but, "required shared storage" means active name node will write to its local disk? Do I need to configure or use any shared storage like NAS or SAN array or S3 storage for this purpose?
Regards, Chandrash3khar Kotekar Mobile - +91 8600011455 On Thu, Feb 12, 2015 at 5:08 PM, Brahma Reddy Battula < [email protected]> wrote: > 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 [[email protected]] > *Sent:* Thursday, February 12, 2015 5:01 PM > *To:* [email protected] > *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 >
