Azure Data Engineer Associate Certification C ...
- 1k Enrolled Learners
- Live Class
HDFS stands for ‘Hadoop Distributed File System’. The HDFS is a sub-project of the Apache Hadoop project. This Apache Software Foundation project is designed to provide a fault-tolerant file system designed to run on commodity hardware. HDFS is accessed through a set of shell commands which will be discussed in this post.
A short note before starting: All the Hadoop Shell commands are invoked by the bin/hadoop script.
Usage: hadoop fsck – /
Usage: Hadoop version
The Hadoop fs command runs a generic filesystem user client that interacts with the MapR filesystem (MapR-FS).
Usage: hadoop fs -ls hdfs :/
Usage: hadoop fs -df hdfs :/
Usage: hadoop fs -count hdfs :/
Usage: -mv <src> <dst>
Usage: -cp <src> <dst>
Usage: -rm <path>
Usage: -put <localsrc> … <dst>
Usage: -copyFromLocal <localsrc> … <dst>
Usage: -cat <src>
Usage: hadoop namenode -format
Usage: hadoop secondrynamenode
Usage: hadoop namenode
Usage: hadoop datanode
Usage: hadoop balancer
Usage: hadoop jobtracker
Usage: hadoop tasktracker
Got a question for us? Please mention them in the comments section and we will get back to you.
|Big Data Hadoop Certification Training Course|
Class Starts on 24th December,2022
24th DecemberSAT&SUN (Weekend Batch)