Comment out setting resources for core-site.xml and hdfs-site.xml.