Hadoop Shell Commands

hadoop fs -cat file:///file2

hadoop fs -mkdir /user/hadoop/dir1 /user/hadooop/dir2

hadoop fs -copyFromLocal <fromDir> <toDir>

hadoop fs -put <localFile> hdss://some.database.asia/hadoop/hadoopfile

sudo hadoop jar <jarFileName> <method> <formDir> <toDir>

hadoop fs -ls /user/hadoop/dir1

hadoop fs -cat hdsf://some.database.asia/file1

hadoop fs -get /user/hadoop/file <localFile>