hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: HDFS HA with HDFS Federation
Date Wed, 31 Oct 2012 20:10:26 GMT
Hi Lohit,

The shared edits dir config is also optionally per-namenode -- i.e you can
specify dfs.namenode.shared.edits.dir.namespace1 or
even dfs.namenode.shared.edits.dir.namespace1.nn2. For reference in the
code, check out NameNode.NAMENODE_SPECIFIC_KEYS.

-Todd

On Wed, Oct 31, 2012 at 1:08 PM, lohit <lohit.vijayarenu@gmail.com> wrote:

> Hi Devs,
>
> I am trying to test HDFS Federation and HDFS HA on same cluster.
> My setup has 2 federated NameNodes out of which only one NameNode is in HA
> mode.
> It looks like all configs has good structure to distinguish between the
> namenode.
> For example dfs.namenode.rpc-address.cluster.namenode is kind of unique.
> This enables me to have same hdfs-site.xml across all nodes on cluster.
> But some configs like  dfs.namenode.shared.edits.dir does not have this
> property.
> This forces me to have different hdfs-site.xml on different nodes.
> Has anyone run into this situation? Any suggestions to overcome this?
>
> --
> Have a Nice Day!
> Lohit
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message