17 lines
598 B
Plaintext
Executable File
17 lines
598 B
Plaintext
Executable File
#remove word out if it exists
|
|
bin/hadoop fs -rmr swiftn://output/wordout
|
|
# input and output from HPCloud Object store
|
|
bin/hadoop jar build/hadoop-examples-*.jar wordcount swiftn://input swiftn://output/wordout
|
|
|
|
bin/hadoop fs -cat swiftn://output/wordout/*
|
|
|
|
bin/hadoop fs -lsr swiftn://input
|
|
|
|
#input from swift and output to local file system
|
|
bin/hadoop jar build/hadoop-examples-*.jar wordcount swiftn://input file:///home/output
|
|
|
|
bin/hadoop fs -rmr /cloudout
|
|
|
|
#input from swift and output to hdfs
|
|
bin/hadoop jar build/hadoop-examples-*.jar wordcount swiftn://input hdfs://localhost:9000/cloudout
|