Configuring automatic failover

Add the following properties to hdfs-site.xml to configure automatic failover:

Property Value
dfs.ha.automatic-failover.enabled true
ha.zookeeper.quorum zk1:2181, zk2:2181, zk3:2181