title: looking local file system instead of hdfs when I ran the spark submit
body: <p>when I ran the spark-submit, it throw error indicating that no file in the file system as below.</p>
  
  <pre><code>Exception in thread "main" org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: file:/user/sclee/clustering2/mapTemplate_micron
  </code></pre>
  
  <p>I think that my file is on the hdfs not in the my local system.
  I found that my hadoop configuration file was correctly configured as below</p>
  
  <pre><code>&lt;property&gt;
  &lt;name&gt;fs.defaultFS&lt;/name&gt;
  &lt;value&gt;hdfs://spark.dso.hdm1:9000&lt;/value&gt;
  &lt;/property&gt;
  &lt;property&gt;
  </code></pre>
  
  <p>How to resolve this issue?</p>
  
  <h2>supplement</h2>
  
  <p>Below is my submit query.
  Actually, I used the spark well using below query. However, I mistakenly removed the spark directories. So I copied the spark directory from worker node. And then my issue occurred. I hope to fix my issue. Thanks.</p>
  
  <pre><code>hadoop fs -rm -r /home/hawq2/*
  spark-submit \
          --class com.bistel.spark.examples.yma.ClusterServiceBasedOnNewAlgo \
          --master spark://spark.dso.spkm1:7077 \
          --executor-memory 8g\
          --executor-cores 4\
          --jars /home/jumbo/user/sclee/clustering/guava-19.0.jar\
          --conf spark.eventLog.enabled=true\
          --conf spark.eventLog.dir=hdfs://spark.dso.hdm1:9000/user/jumbo/applicationHistory\
          --conf spark.memory.offHeap.enabled=true\
          --conf spark.memory.offHeap.size=268435456\
          ./new.jar\
          /user/sclee/clustering2/mapTemplate_micron      /user/sclee/clustering2/data/bin3       /user/sclee/clustering2/ret
  </code></pre>