Cannot make user directory on a new CDH5 installation (Hadoop) I download and installed CDH 5 package succesfully on a single linux node in pseudo-distributed Mode on my CentOS 6.5

Starting Hadoop and verifying it is Working Properly as in this link

I succesfully finished the following steps

Step 1: Format the NameNode.

Step 2: Start HDFS

Step 3: Create the /tmp Directory

Step 4: Create the MapReduce system directories:

Step 5: Verify the HDFS File Structure

Step 6: Start MapReduce

while following command in step 7 I get the following error.

Step 7: Create User Directories

$ sudo -u hdfs hadoop fs -mkdir -p /user/hadoopuser

mkdir: '/user/hadoopuser': No such file or directory

(where hadoopuser is my linux login username)

If I create the directory manually as /user/hadoopuser in the filesystem, it is not accepting.

How to success the step 7:?

Please provide the sloution to procced the remaining installation.
The simplest way to setup a user directory is to login to Hue as an admin and create a user account. This will create a directory in HDFS located at /user/yourusername with the correct permissions to work in.