Not able to create dir in HDFS -Running Your First MapReduce Program-WordCount


1 Answer(s)


hi Anand,

Please execute the command as give below, looks like there is a slash before the directory name in your example

hdfs dfs -mkdir wordcount.

This will be created in hdfs location under "/user/cloudera" , if you had executed the command as "cloudera" user.

Thanks