avoid uploading dispensably the file existed in HDFS when the host name is a virtrual host for HA Hadoop cluster

if the host name is a virtual machine name, the "compareFs" method will throw a unknown host exception, then the JARS file (include the spark assembly jar) will upload every time, it will take more time dispensable.