title: How to find Hadoop hdfs directory on my system?
body: <p>How to find Hadoop HDFS directory on my system?
  I need this to run following command - </p>
  
  <pre><code>hadoop dfs -copyFromLocal &lt;local-dir&gt; &lt;hdfs-dir&gt;
  </code></pre>
  
  <p>In this command I don't knon my hdfs-dir.</p>
  
  <p>Not sure if its helpful or not but I ran following command and got this output - </p>
  
  <pre><code> hdfs dfs -ls
  -rw-r--r--   3 popeye hdfs  127162942 2016-04-01 19:47 .
  </code></pre>
  
  <p>In hdfs-site.xml, I found following entry - </p>
  
  <pre><code>&lt;property&gt;
        &lt;name&gt;dfs.datanode.data.dir&lt;/name&gt;
        &lt;value&gt;/hadoop/hdfs/data&lt;/value&gt;
        &lt;final&gt;true&lt;/final&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>I tried to run following command but it gives error -</p>
  
  <pre><code>[root@sandbox try]# hdfs dfs -copyFromLocal 1987.csv /hadoop/hdfs/data
  copyFromLocal: `/hadoop/hdfs/data': No such file or directory
  </code></pre>
  
  <p>FYI - I am doing all this on hortonworks sandbox on azure server.</p>