I have just started learning Hadoop & had setup my own VM. I am learning basic commands. One of the basic command is to create a directory ully.
I am trying to create a test directory in HDFS.
hdfs dfs -mkdir hdfs://localhost:9000/usr/hadoop/test
I am getting the following error message:
/usr/lib/hadoop/etc/hadoop/hadoop-env.sh: line 2: ./hadoop-env.sh: Permission denied
11/6/17 12:08:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
mkdir: `hdfs://localhost:9000/usr/hadoop/test': No such file or directory
I am creating a directory but the error is saying that the directory is not there. I think this has something to do with the permissions. Can someone help me out?