- cat => hadoop fs -cat /hdfs_home/input/abc.txt
- chmod => hadoop fs -chmod 777 /hdfs_home/input/abc.txt
- chown => hadoop fs -chown hduser:hadoop /hdfs_home/input/abc.txt
- copyFromLocal => hadoop fs -copyFromLocal /home/anoop/abc.txt /hdfs_home/input/
- copyToLocal => hadoop fs -copyToLocal /hdfs_home/input/abc.txt /home/anoop/
- cp => hadoop fs -cp /hdfs_home/input/abc.txt /hdfs_home/output/
- du => hadoop fs -du /hdfs_home/input/
- get => hadoop fs – get /hdfs_home/input/abc.txt /home/anoop/
- ls => hadoop fs -ls /hdfs_home/input/
- lsr => hadoop fs -lsr /hdfs_home/
- mkdir => hadoop fs -mkdir /hdfs_home/input/sampledir
- moveFromLocal => hadoop fs -moveFromLocal /home/anoop/abc.txt /hdfs_home/input/
- moveToLocal => hadoop fs -moveToLocal /hdfs_home/input/abc.txt /home/anoop/
- mv => hadoop fs -mv /hdfs_home/input/abc.txt /hdfs_home/output/
- put => hadoop fs -put /home/anoop/abc.txt /hdfs_home/input
- rm => hadoop fs -rm /hdfs_home/input/abc.txt
- rmdir => hadoop fs -rmdir /hdfs_home/input/
- rmr => hadoop fs -rmr /hdfs_home/input/
- tail => hadoop fs -tail /hdfs_home/input/abc.txt
- text => hadoop fs -text /hdfs_home/input/abc.txt
Like this:
Like Loading...
Related
Published by milindjagre
I founded my blog www.milindjagre.co four years ago and am currently working as a Data Scientist Analyst at the Ford Motor Company.
I graduated from the University of Connecticut pursuing Master of Science in Business Analytics and Project Management. I am working hard and learning a lot of new things in the field of Data Science.
I am a strong believer of constant and directional efforts keeping the teamwork at the highest priority.
Please reach out to me at milindjagre@gmail.com for further information.
Cheers!
View more posts