fix configuration error in hadoop-conf/mapred-site.xml, test if JDK is available in current directory before deploying cluster