HDFS DFS MKDIR
In Hadoop Distributed File System (HDFS), the dfs -mkdir
command is used to create a new directory within the file system. This command allows you to organize and structure your data by creating directories to store files. Here’s how you can use the hadoop dfs -mkdir
command:
hadoop dfs -mkdir <directory_path>
<directory_path>
: This is the HDFS path where you want to create the new directory.
For example, if you want to create a new directory named “mydata” in the root of HDFS, you can use the following command:
hadoop dfs -mkdir /mydata
If you want to create a nested directory structure, you can specify the full path including subdirectories. For example:
hadoop dfs -mkdir /user/hadoop/data
Hadoop Training Demo Day 1 Video:
Conclusion:
Unogeeks is the No.1 IT Training Institute for Hadoop Training. Anyone Disagree? Please drop in a comment
You can check out our other latest blogs on Hadoop Training here – Hadoop Blogs
Please check out our Best In Class Hadoop Training Details here – Hadoop Training
Follow & Connect with us:
———————————-
For Training inquiries:
Call/Whatsapp: +91 73960 33555
Mail us at: info@unogeeks.com
Our Website ➜ https://unogeeks.com
Follow us:
Instagram: https://www.instagram.com/unogeeks
Facebook:https://www.facebook.com/UnogeeksSoftwareTrainingInstitute
Twitter: https://twitter.com/unogeeks