user hadoop

$ hdfs namenode -format

Re-format filesystem in Storage Directory /var/app/hadoop/data/dfs/name [Y]

$ exit

user student

$ cd ~
$ wget http://norvig.com/ngrams/shakespeare.txt ~/
$ hadoop fs -mkdir -p shakespeare/input
$ hadoop fs -copyFromLocal ~/shakespeare.txt shakespeare/input
$ hadoop fs -ls shakespeare/input