hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r432631 - /lucene/hadoop/trunk/src/contrib/smallJobsBenchmark/src/java/org/apache/hadoop/benchmarks/mapred/BenchmarkRunner.java
Date Fri, 18 Aug 2006 16:30:32 GMT
Author: cutting
Date: Fri Aug 18 09:30:32 2006
New Revision: 432631

URL: http://svn.apache.org/viewvc?rev=432631&view=rev
Log:
Adding missing file from HADOOP-434.

Added:
    lucene/hadoop/trunk/src/contrib/smallJobsBenchmark/src/java/org/apache/hadoop/benchmarks/mapred/BenchmarkRunner.java

Added: lucene/hadoop/trunk/src/contrib/smallJobsBenchmark/src/java/org/apache/hadoop/benchmarks/mapred/BenchmarkRunner.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/smallJobsBenchmark/src/java/org/apache/hadoop/benchmarks/mapred/BenchmarkRunner.java?rev=432631&view=auto
==============================================================================
--- lucene/hadoop/trunk/src/contrib/smallJobsBenchmark/src/java/org/apache/hadoop/benchmarks/mapred/BenchmarkRunner.java
(added)
+++ lucene/hadoop/trunk/src/contrib/smallJobsBenchmark/src/java/org/apache/hadoop/benchmarks/mapred/BenchmarkRunner.java
Fri Aug 18 09:30:32 2006
@@ -0,0 +1,23 @@
+package org.apache.hadoop.benchmarks.mapred;
+
+
+import org.apache.hadoop.util.ProgramDriver;
+/**
+ * Driver for benchmark. 
+ * @author sanjaydahiya
+ *
+ */
+public class BenchmarkRunner {
+  
+  public static void main(String argv[]){
+    ProgramDriver pgd = new ProgramDriver();
+    try {
+      pgd.addClass("smallJobsBenchmark", MultiJobRunner.class, 
+      "A map/reduce benchmark that creates many small jobs");
+      pgd.driver(argv);
+    }
+    catch(Throwable e){
+      e.printStackTrace();
+    }
+  }
+}



Mime
View raw message