Permalink
Browse files

upgrading BerkeleyDB Java Edition to 3.3.75

  • Loading branch information...
1 parent 0b31cb5 commit e7689cb10fb44773f31be7fbfa46cf65a9ab796c @bbansal bbansal committed Feb 25, 2009
View
2 .classpath
@@ -19,7 +19,6 @@
<classpathentry kind="lib" path="lib/commons-pool-1.4.jar"/>
<classpathentry kind="lib" path="lib/google-collect-snapshot-20080530.jar" sourcepath="lib/src/google-collections-src-snapshot-20080530.zip"/>
<classpathentry kind="lib" path="lib/jdom.jar"/>
- <classpathentry kind="lib" path="lib/je-3.3.62.jar"/>
<classpathentry kind="lib" path="lib/jetty-6.1.6rc0.jar"/>
<classpathentry kind="lib" path="lib/jetty-util-6.1.6rc0.jar"/>
<classpathentry kind="lib" path="lib/junit-4.1.jar"/>
@@ -34,5 +33,6 @@
<classpathentry kind="lib" path="contrib/batch-indexer/lib/commons-cli-2.0-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="lib/protobuf-java-2.0.3.jar"/>
<classpathentry kind="lib" path="lib/libthrift-20080411p1.jar"/>
+ <classpathentry kind="lib" path="lib/je-3.3.75.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>
View
4 build_number.txt
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
-#Thu Feb 05 11:29:14 PST 2009
-build.number=300
+#Wed Feb 25 14:04:55 PST 2009
+build.number=303
View
9 .../batch-indexer/src/java/test/voldemort/contrib/batchindexer/TestReadOnlyBatchIndexer.java
@@ -23,6 +23,7 @@
import junit.framework.TestCase;
+import org.apache.commons.io.FileDeleteStrategy;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
@@ -56,10 +57,14 @@
@SuppressWarnings("unchecked")
public void testCSVFileBatchIndexer() throws Exception {
- ToolRunner.run(new Configuration(), new TextBatchIndexer(), null);
-
// rename Files
File dataDir = new File("contrib/batch-indexer/temp-output/text");
+ if(dataDir.exists()) {
+ FileDeleteStrategy.FORCE.delete(dataDir);
+ }
+
+ ToolRunner.run(new Configuration(), new TextBatchIndexer(), null);
+
new File(dataDir, "users.index_0").renameTo(new File(dataDir, "users.index"));
new File(dataDir, "users.data_0").renameTo(new File(dataDir, "users.data"));
View
BIN lib/je-3.3.62.jar
Binary file not shown.
View
BIN lib/je-3.3.75.jar
Binary file not shown.

0 comments on commit e7689cb

Please sign in to comment.