Member since
05-28-2016
9
Posts
12
Kudos Received
0
Solutions
07-07-2016
08:46 PM
Thank you @Chris Nauroth and @Kuldeep Kulkarni for the answer. It's quite clear.
... View more
07-07-2016
08:54 PM
Thank you all for the comments.
... View more
07-07-2016
08:56 PM
Thank you all for the answers.
... View more
06-23-2016
11:35 PM
2 Kudos
Hi
@Xiaobing Zhou, I think the requirement to have shell(/bin/true) which is essentially a no-op fencer can be eliminated. There is no technical reason to require the no-op fencer. The code that instantiates a fencer is in NodeFencer.java
public static NodeFencer create(Configuration conf, String confKey)
throws BadFencingConfigurationException {
String confStr = conf.get(confKey);
if (confStr == null) {
return null;
}
return new NodeFencer(conf, confStr);
}
A potential improvement is to instantiate a dummy fencer if dfs.ha.fencing.methods is undefined i.e. the confStr == null case above.
... View more
06-03-2016
12:19 AM
Thank you @Jing Zhao, the hedge read is actually quite useful as a result of multiplexing.
... View more