accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/5] accumulo git commit: ACCUMULO-3435 Use RawLocalFileSystem
Date Fri, 19 Dec 2014 06:37:27 GMT
ACCUMULO-3435 Use RawLocalFileSystem

Restarting the nodes and expecting recovery
to actually working with the ChecksumFileSystem
just ain't gonna happen. Checksum errors prevent recovery
from happening which means the test can never finish.
RawLocalFilesystem ensures that we have the necessary
filesystem semantics for WALs.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/59238d04
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/59238d04
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/59238d04

Branch: refs/heads/master
Commit: 59238d046a39a859a28bc1a0ea79b8a93156e554
Parents: c558211
Author: Josh Elser <elserj@apache.org>
Authored: Fri Dec 19 01:19:44 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Fri Dec 19 01:19:44 2014 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/test/functional/MetadataMaxFilesIT.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/59238d04/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java
b/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java
index be03d1e..b0da8b6 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java
@@ -37,6 +37,7 @@ import org.apache.accumulo.harness.AccumuloClusterIT;
 import org.apache.accumulo.minicluster.impl.MiniAccumuloConfigImpl;
 import org.apache.accumulo.trace.instrument.Tracer;
 import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.fs.RawLocalFileSystem;
 import org.apache.hadoop.io.Text;
 import org.junit.After;
 import org.junit.Before;
@@ -53,6 +54,7 @@ public class MetadataMaxFilesIT extends AccumuloClusterIT {
     siteConfig.put(Property.TSERV_MAJC_DELAY.getKey(), "1");
     siteConfig.put(Property.TSERV_SCAN_MAX_OPENFILES.getKey(), "10");
     cfg.setSiteConfig(siteConfig);
+    hadoopCoreSite.set("fs.file.impl", RawLocalFileSystem.class.getName());
   }
 
   @Override


Mime
View raw message