hdfs dfs -mkdir, No such file or directory : <p>Hi I am new to hadoop and trying to create directory in hdfs called twitter_data.
I have set up my vm on softlayer, installed &amp; started hadoop successfully. </p>

<p>This is the commend I am trying to run:</p>

<blockquote>
  <p>hdfs dfs -mkdir hdfs://localhost:9000/user/Hadoop/twitter_data</p>
</blockquote>

<p>And it keeps returning this error message: </p>

<pre><code> /usr/local/hadoop/etc/hadoop/hadoop-env.sh: line 2: ./hadoop-env.sh: Permission denied
16/10/19 19:07:03 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
mkdir: `hdfs://localhost:9000/user/Hadoop/twitter_data': No such file or directory
</code></pre>

<p>Why does it say there is no such file and directory? I am ordering it to make directory, shouldn't it just create one? I am guessing it must be the permission issue, but I cant resolve it. Please help me hdfs experts. I have been spending too much time on what seems to be a simple matter.</p>

<p>Thanks in advance. </p>
