Creating directories in Hadoop HDFS using the 'mkdir' command in the file system shell to organize and manage data storage.