MKdir HDFS

Share

                        MKdir HDFS

In Hadoop, you can create directories in the Hadoop Distributed File System (HDFS) using the hadoop fs command or the hdfs dfs command. Here’s how you can use these commands to create directories in HDFS:

Using hadoop fs:

bash
hadoop fs -mkdir /path/to/directory

Using hdfs dfs:

bash
hdfs dfs -mkdir /path/to/directory

Replace /path/to/directory with the full HDFS path where you want to create the new directory. For example, if you want to create a directory called “mydata” in the root of HDFS, you can use:

bash
hadoop fs -mkdir /mydata

Or:

bash
hdfs dfs -mkdir /mydata

Make sure you have the necessary permissions to create directories in the specified location in HDFS. You may need to be the Hadoop superuser (hdfs) or have appropriate access rights to perform this operation, depending on your Hadoop cluster’s configuration.

Hadoop Training Demo Day 1 Video:

 
You can find more information about Hadoop Training in this Hadoop Docs Link

 

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


Share

Leave a Reply

Your email address will not be published. Required fields are marked *