fix issues in common
Add template for hdfs-site.xml yarn-site.xml core-site.xml