title: Purpose of fs.hdfs.hadoopconf in flink-conf.yaml
body: <p>Newbie to Flink. <br>
  I am able to run the example wordcount.jar on a file present in remote hdfs cluster without declaring fs.hdfs.hadoopconf variable in flink conf. </p>
  
  <p>So wondering what exactly is the purpose of above mentioned variable.<br>
  Does declaring it changes the way one runs the example jar ?</p>
  
  <p>Command : </p>
  
  <pre><code>flink-cluster.vm ~]$ /opt/flink/bin/flink run  /opt/flink/examples/batch/WordCount.jar --input hdfs://hadoop-master:9000/tmp/test-events
  </code></pre>
  
  <p>Output: </p>
  
  <pre><code>.......
  07/13/2016 00:50:13 Job execution switched to status FINISHED.
  (foo,1)
  .....
  (bar,1)
  (one,1)
  </code></pre>
  
  <p>Setup : </p>
  
  <ul>
  <li>Remote HDFS cluster on hdfs://hadoop-master.vm:9000</li>
  <li>Flink cluster on running on flink-cluster.vm</li>
  </ul>
  
  <p>Thanks</p>
  
  <p><strong>Update</strong> : <br> 
  As pointed out by Serhiy, declared fs.hdfs.hadoopconf in conf but on running the job with updated argument <code>hdfs:///tmp/test-events.1468374669125</code> got the following error </p>
  
  <p>flink-conf.yaml</p>
  
  <pre><code># You can also directly specify the paths to hdfs-default.xml and hdfs-site.xml
  # via keys 'fs.hdfs.hdfsdefault' and 'fs.hdfs.hdfssite'.
  #
  fs.hdfs.hadoopconf: hdfs://hadoop-master:9000/
  fs.hdfs.hdfsdefault :  hdfs://hadoop-master:9000/
  </code></pre>
  
  <p>Command : <br></p>
  
  <pre><code>flink-cluster.vm ~]$ /opt/flink/bin/flink run  /opt/flink/examples/batch/WordCount.jar --input hdfs:///tmp/test-events
  </code></pre>
  
  <p>Output : <br></p>
  
  <pre><code>Caused by: org.apache.flink.runtime.JobException: Creating the input splits caused an error: The given HDFS file URI (hdfs:///tmp/test-events.1468374669125) did not describe the HDFS NameNode. The attempt to use a default HDFS configuration, as specified in the 'fs.hdfs.hdfsdefault' or 'fs.hdfs.hdfssite' config parameter failed due to the following problem: Either no default file system was registered, or the provided configuration contains no valid authority component (fs.default.name or fs.defaultFS) describing the (hdfs namenode) host and port.
      at org.apache.flink.runtime.executiongraph.ExecutionJobVertex.&lt;init&gt;(ExecutionJobVertex.java:172)
      at org.apache.flink.runtime.executiongraph.ExecutionGraph.attachJobGraph(ExecutionGraph.java:679)
      at org.apache.flink.runtime.jobmanager.JobManager.org$apache$flink$runtime$jobmanager$JobManager$$submitJob(JobManager.scala:1026)
      ... 19 more
  </code></pre>