THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The following example uses TeraGen to generate input data for TeraSort:
Code Block |
---|
hadoop jar /opt/mapr/hadoop/hadoop-2.7.1/HADOOP_HOME/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1-mapr-1506-SNAPSHOT<version>.jar teragen 10000 /outDir |
The following example uses TeraSort to sort the data using map/reduce:
Code Block |
---|
hadoop jar /opt/mapr/hadoop/hadoop-2.7.1/HADOOP_HOME/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1-mapr-1506-SNAPSHOT<version>.jar terasort /outDir /terasortOutDir |