You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sz...@apache.org on 2009/03/06 01:25:15 UTC

svn commit: r750703 - in /hadoop/core/trunk: CHANGES.txt src/examples/org/apache/hadoop/examples/BaileyBorweinPlouffe.java

Author: szetszwo
Date: Fri Mar  6 00:25:15 2009
New Revision: 750703

URL: http://svn.apache.org/viewvc?rev=750703&view=rev
Log:
HADOOP-5347. Create a job output directory for the bbp examples.  (szetszwo)

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/examples/org/apache/hadoop/examples/BaileyBorweinPlouffe.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=750703&r1=750702&r2=750703&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Mar  6 00:25:15 2009
@@ -272,6 +272,8 @@
     HADOOP-5383. Avoid building an unused string in NameNode's 
     verifyReplication(). (Raghu Angadi)
 
+    HADOOP-5347. Create a job output directory for the bbp examples.  (szetszwo)
+
 Release 0.20.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/examples/org/apache/hadoop/examples/BaileyBorweinPlouffe.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/examples/org/apache/hadoop/examples/BaileyBorweinPlouffe.java?rev=750703&r1=750702&r2=750703&view=diff
==============================================================================
--- hadoop/core/trunk/src/examples/org/apache/hadoop/examples/BaileyBorweinPlouffe.java (original)
+++ hadoop/core/trunk/src/examples/org/apache/hadoop/examples/BaileyBorweinPlouffe.java Fri Mar  6 00:25:15 2009
@@ -349,7 +349,7 @@
     // setup a job
     final Job job = createJob(name, conf);
     final Path hexfile = new Path(dir, "pi_" + name + ".hex");
-    FileOutputFormat.setOutputPath(job, dir);
+    FileOutputFormat.setOutputPath(job, new Path(dir, "out"));
 
     // setup custom properties
     job.getConfiguration().set(WORKING_DIR_PROPERTY, dir.toString());