Hey. I am new to hadoop and am trying to create a directory in hdfs called twitter_data. I installed my vm on softlayer, installed and successfully started hasoop.
This is the approval I am trying to run:
hdfs dfs -mkdir hdfs: // localhost: 9000 / user / Hadoop / twitter_data p>
And he keeps returning this error message:
/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
Why does he say that there is no such file and directory? I order it to create a catalog, do I just need to create it? I assume this is a resolution problem, but I cannot solve it. Please help me with hdfs experts. I spent too much time on what seems simple.
Thanks in advance.
source share