Jun 19 2014 09:59 AM
Try running following command to see the newly created directory:
Command: hadoop fs -ls /user/cloudera/
This will list all the files/directories under /user/cloudera inside HDFS, including the newly created wordcount directory.
1. "mkdir" and "hadoop fs -mkdir" : first one will create a directory in local filesystem while second one will create directory in HDFS[hadoop filesystem]
2. "ls" and "hadoop fs -ls": first will list all the files/directories of local filesystem and second will list all the files/directories in HDFS.
Hope this helps.
Happy Learning @ Dezyre !!