Write a small form based application in Java to:
1. Connect to existing Apache Hadoop cluster
2. Configure the domain name of the Apache Hadoop cluster,
3. If necessary, update connection setting on other related Apps installed on the cluster (Hive, Pig, Spark, etc..) to reflect the new domain name connection
4. Test all connections and output connectivity status to a log file