HDFS DFS
In Hadoop, the term “HDFS DFS” is not a standard command or operation. However, it’s possible that you may have encountered it in the context of Hadoop commands. Typically, Hadoop users interact with the Hadoop Distributed File System (HDFS) using the hdfs dfs
command-line tool, which provides a set of subcommands for various file and directory operations within HDFS.
Here are some common hdfs dfs
subcommands:
List Files and Directories:
hdfs dfs -ls
: Lists files and directories in HDFS.
Create Directories:
hdfs dfs -mkdir
: Creates one or more directories in HDFS.
Upload Data:
hdfs dfs -put
: Copies files or directories from the local file system to HDFS.
Download Data:
hdfs dfs -get
: Copies files or directories from HDFS to the local file system.
View File Content:
hdfs dfs -cat
: Displays the contents of a file in HDFS.
Remove Files/Directories:
hdfs dfs -rm
: Deletes files or directories in HDFS.hdfs dfs -rm -r
: Recursively deletes files and directories.
Copy Between File Systems:
hdfs dfs -copyToLocal
: Copies files from HDFS to the local file system.hdfs dfs -copyFromLocal
: Copies files from the local file system to HDFS.
Move or Rename Files/Directories:
hdfs dfs -mv
: Moves or renames files and directories in HDFS.
Change Permissions and Ownership:
hdfs dfs -chmod
: Changes file or directory permissions in HDFS.hdfs dfs -chown
: Changes file or directory ownership in HDFS.
Check Disk Usage:
hdfs dfs -du
: Shows the amount of space used by files and directories in HDFS.
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