You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/05/23 22:32:42 UTC

[3/6] git commit: ACCUMULO-2842 Mention hflush as an alternative configuration for the property

ACCUMULO-2842 Mention hflush as an alternative configuration for the property


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

Branch: refs/heads/master
Commit: 2526f0a2cc2d1dca63483b614e938fcb1ddd7f35
Parents: f654e7f
Author: Josh Elser <el...@apache.org>
Authored: Fri May 23 16:25:38 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Fri May 23 16:25:38 2014 -0400

----------------------------------------------------------------------
 core/src/main/java/org/apache/accumulo/core/conf/Property.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/2526f0a2/core/src/main/java/org/apache/accumulo/core/conf/Property.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
index 3d82046..d8f9beb 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
@@ -206,7 +206,8 @@ public enum Property {
       "Use the SYNC_BLOCK create flag to sync WAL writes to disk. Prevents problems recovering from sudden system resets."),
   TSERV_WAL_SYNC_METHOD("tserver.wal.sync.method", "hsync", PropertyType.STRING, "The method to invoke when sync'ing WALs. HSync will provide " +
       "resiliency in the face of unexpected power outages, at the cost of speed. If method is not available, the legacy 'sync' method " +
-      "will be used to ensure backwards compatibility with older Hadoop versions"),
+      "will be used to ensure backwards compatibility with older Hadoop versions. A value of 'hflush' is the alternative to the default value " +
+      "of 'hsync' which will result in faster writes, but with less durability"),
   
   // properties that are specific to logger server behavior
   LOGGER_PREFIX("logger.", null, PropertyType.PREFIX, "Properties in this category affect the behavior of the write-ahead logger servers"),