Hadoop Commands Example

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/Continue reading “Hadoop Commands Example”