ACCUMULO-2650 Initial round of configuration parameters
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e01c8d99 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e01c8d99 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e01c8d99 Branch: refs/heads/ACCUMULO-378 Commit: e01c8d99b992795474bf4eac8f9d8a5978f540e4 Parents: d257001 Author: Josh Elser <els...@apache.org> Authored: Mon Apr 7 22:58:41 2014 -0400 Committer: Josh Elser <els...@apache.org> Committed: Mon Apr 7 23:01:24 2014 -0400 ---------------------------------------------------------------------- .../java/org/apache/accumulo/core/conf/Property.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/e01c8d99/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 0502aae..7506022 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 @@ -437,6 +437,21 @@ public enum Property { GENERAL_MAVEN_PROJECT_BASEDIR(AccumuloClassLoader.MAVEN_PROJECT_BASEDIR_PROPERTY_NAME, AccumuloClassLoader.DEFAULT_MAVEN_PROJECT_BASEDIR_VALUE, PropertyType.ABSOLUTEPATH, "Set this to automatically add maven target/classes directories to your dynamic classpath"), + @Experimental + REPLICATION_PREFIX("replication.", null, PropertyType.PREFIX, "Properties in this category affect the replication of data to other Accumulo instances."), + @Experimental + REPLICATION_ENABLED("replication.enabled", "false", PropertyType.BOOLEAN, "Global switch to enable replication for the given instance"), + @Experimental + REPLICATION_SLAVES("replication.slave.", null, PropertyType.PREFIX, "Properties in this category control what systems data can be replicated to"), + @Experimental + REPLICATION_TABLES("replication.table.", null, PropertyType.PREFIX, "Properties in this category control table-specific replication configuration"), + @Experimental + REPLICATION_TABLET_SCAN_INTERVAL("replication.tablet.interval", "30s", PropertyType.TIMEDURATION, "Amount of time to sleep before scanning tablets for new replication data"), + @Experimental + REPLICATION_BATCH_SIZE("replication.batch.size", "1000", PropertyType.COUNT, "Maximum number of updates (WAL) or key-value pairs (RFile) to send in one replication task"), + @Experimental + REPLICATION_SEND_THREAD_POOL_SIZE("replication.send.threads", "1", PropertyType.COUNT, "Size of threadpool used to start replication to slaves"), + ; private String key, defaultValue, description;