0% found this document useful (0 votes)
23 views

BDA5

Uploaded by

Nikunj Shah3540
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

BDA5

Uploaded by

Nikunj Shah3540
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Lecture 5: HDFS Commands

Big Data Analytics


by

Amrit Nath Thulal


Department of Information Technology
Amity School of Engineering and Technology
HDFS Commands
• ls • hadoop fs -get
• cls
• hadoop fs -put
• Hadoop version
• hadoop fs –ls / • hadoop fs -tail
• hadoop fs cat <path> • hadoop fs -stat
• hadoop fs touchz <file path>
• hadoop fs –setfattr
• hadoop fs –mkdir /user/amrit
• hadoop fs –copyFromLocal <local file path> <dest(present on hdfs> • hadoop fs -chmod
• hadoop fs –copyToLocal <src file (on HDFS)> <localFile> • hadoop fs -find
• hadoop fs –cp <scr (from HDFS)> <dest (on HDFS)>
• hadoop fs –help
• hadoop fs –mv <local SCR file> <dest (on HDFS)>
• hadoop fs –site .XML
MapReduce Commands
• input directory/file_name • hadoop job –list all
• output directory_name • hadoop job –killtask <taskid>
• file file_name • hadoop job –kill <job_id>
• numReduce task • hadoop job –submit <job_file>
• mapdebug • hadoop_home /bin/hadoop
job_history
Thanks

You might also like