How FAN is configured on HDFS and it works?