NN config questions

2015-01-26 Thread dlmarion

If multiple directories are specified for dfs.namenode.name.dir and 
dfs.namenode.edits.dir, are the writes to the different directories done in 
parallel or serial? 

Does dfs.namenode.shared.edits.dir support multiple directories like the 
properties above? 

Thanks, 
Dave 


Re: NN config questions

2015-01-26 Thread Ravi Prakash
Hi Dave!
Here the class which is used to store all the edits : 
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java#L575
HTHRavi
 

 On Monday, January 26, 2015 10:32 AM, "dlmar...@comcast.net" 
 wrote:
   

 
 If multiple directories are specified for dfs.namenode.name.dir and 
dfs.namenode.edits.dir, are the writes to the different directories done in 
parallel or serial?

 Does dfs.namenode.shared.edits.dir support multiple directories like the 
properties above?

Thanks,
Dave