Class NodeFencer

java.lang.Object
org.apache.hadoop.ha.NodeFencer

@Private @Evolving public class NodeFencer extends Object
This class parses the configured list of fencing methods, and is responsible for trying each one in turn while logging informative output.

The fencing methods are configured as a carriage-return separated list. Each line in the list is of the form:

com.example.foo.MyMethod(arg string) or com.example.foo.MyMethod The class provided must implement the FenceMethod interface. The fencing methods that ship with Hadoop may also be referred to by shortened names: