Search notes:

Hadoop core commands

fs

This core command simulates the shell commands mkdir, ls, cat etc:
hadoop fs -mkdir -p     tq84/subDirectory
hadoop fs -ls           tq84
hadoop fs -put  /tmp/x  tq84/subDirectory/x
hadoop fs -cat          tq84/subDirectory/x

See also

$HADOOP_HOME/bin/hadoop

Index