hadoop fs -mkdir not creating desired folders
<p>I am trying to execute the simple Hadoop Mapreduce Wordcount example. I am following this <a href="https://kishorer747.wordpress.com/2014/10/22/running-a-wordcount-mapreduce-example-in-hadoop-2-4-1-single-node-cluster-in-ubuntu-14-04-64-bit/" rel="nofollow">guide</a> to run the program. </p>

<p>One of the steps is to create input and output folders on the hdfs file system.</p>

<pre><code>hadoop dfs -mkdir -p /usr/local/hadoop/input
</code></pre>

<p>But that gave me this error:</p>

<blockquote>
  <p>DEPRECATED: Use of this script to execute hdfs command is deprecated.
  Instead use the hdfs command for it.</p>
  
  <p>16/09/25 10:57:58 WARN util.NativeCodeLoader: Unable to load
  native-hadoop library for your platform... using builtin-java classes
  where applicable</p>
</blockquote>

<p>So I tried :</p>

<pre><code>hadoop fs -mkdir -p /usr/local/hadoop/input
</code></pre>

<p>Output:</p>

<blockquote>
  <p>16/09/25 10:59:09 WARN util.NativeCodeLoader: Unable to load
  native-hadoop library for your platform... using builtin-java classes
  where applicable</p>
</blockquote>

<p>But the input folder has not been created. </p>

<p>What do I do? Please help!</p>