Wednesday, 10 June 2015

Hadoop commands



hadoop fs -ls /

hadoop fs -lsr /







hadoop fs -ls




hadoop fs -mkdir /kalyan

hadoop fs -mkdir /kalyan1

hadoop fs -ls /


hadoop fs -put /etc/hosts /etc/hostname /etc/passwd /kalyan

hadoop fs -ls /kalyan









hadoop fs -cat /kalyan/passwd



hadoop fs -text /kalyan/hostname




hadoop fs -cp /kalyan/hosts /kalyan1/hosts

hadoop fs -cp /kalyan/hosts /kalyan1/hosts1




hadoop fs -mv /kalyan/hosts /kalyan1/myhosts



hadoop fs -rm /kalyan1/hosts

hadoop fs -rmr /kalyan1




hadoop fs -get /kalyan/passwd /home/hadoop/temp




hadoop fs -getmerge /kalyan  /home/hadoop/temp/merge

hadoop fs -touchz /kalyan/test


hadoop fs -du /

hadoop fs -dus /

hadoop fs -du /kalyan

hadoop fs -dus /kalyan



hadoop fs -mkdir /demo

hadoop fs -chown -R test:testgrp /demo

hadoop fs -chmod 770 /demo

hadoop fs -chmod 775 /demo


No comments:

Post a comment

Related Posts Plugin for WordPress, Blogger...