Support Questions

Find answers, ask questions, and share your expertise

fsimage NFS backup with HDFS HA QJM

avatar
Explorer

Is it still recommended to add a NFS mount to dfs.namenode.name.dir for off node fsimage backups if using HDFS HA with QJM?

 

Thanks,

-Shane

1 ACCEPTED SOLUTION

avatar
Mentor
This is not really required in a HA setup, since you already have two
independent fsimage copies being made at 2x NNs.

View solution in original post

2 REPLIES 2

avatar
Mentor
This is not really required in a HA setup, since you already have two
independent fsimage copies being made at 2x NNs.

avatar
New Contributor

Hello, harsh.

 

I have a question about this subject. ( I know this is pretty old issue ... )

 

I'm using namenode HA(QJM). And for more redundancy, I set "dfs.namenode.name.dir" to multiple directories and one of them is a nfs mounted on other server( especially on master node ).

 

But in this post and on the Cloudera's deploying guide site( https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cdh_ig_hdfs_cluster_deploy.html ), they say "If you are using HA, you should not configure these directories on an NFS mount".

 

Why Cloudera says that?

Is it just "no more required" NFS under HA? 

or Is there any potential problem using NFS directory under HA?