Why isn't the hadoop fs command executable to create directory?

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jason Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Jason
Guest

Have you added HADOOP_HOME in your ~/.bashrc file? Is $HADOOP_HOME/bin in your path?
If not then add the following two lines in the ~/.bashrc file. Change the
fullPathToFolderWhereHadoopResides with the folder where hadoop is.

export HADOOP_HOME=/fullPathToFolderWhereHadoopResides
export PATH=$HADOOP_HOME/bin:$PATH

All the best.