Merge branch '1.5.2-SNAPSHOT' into 1.6.1-SNAPSHOT
Conflicts:
core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/8bcf3469
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/8bcf3469
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/8bcf3469
Branch: refs/heads/1.6.1-SNAPSHOT
Commit: 8bcf34698979b78a290098b18ace9923760124dc
Parents: b0e090e b2fbc06
Author: Josh Elser <elserj@apache.org>
Authored: Fri Jul 18 15:36:51 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Fri Jul 18 15:36:51 2014 -0400
----------------------------------------------------------------------
.../org/apache/accumulo/core/conf/Property.java | 4 +
.../accumulo/core/iterators/IteratorUtil.java | 64 ++--
.../accumulo/core/iterators/IterUtilTest.java | 279 -----------------
.../core/iterators/IteratorUtilTest.java | 306 +++++++++++++++++++
4 files changed, 345 insertions(+), 308 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/8bcf3469/core/src/main/java/org/apache/accumulo/core/conf/Property.java
----------------------------------------------------------------------
diff --cc core/src/main/java/org/apache/accumulo/core/conf/Property.java
index 87a29fb,7f48184..095b25d
--- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
@@@ -400,16 -329,19 +401,19 @@@ public enum Property
+ "with a table. These properties start with the category prefix, followed by
a scope (minc, majc, scan, etc.), "
+ "followed by a period, followed by a name, as in table.iterator.scan.vers, or
table.iterator.scan.custom. "
+ "The values for these properties are a number indicating the ordering in which
it is applied, and a class name "
- + "such as table.iterator.scan.vers = 10,org.apache.accumulo.core.iterators.VersioningIterator<br
/> "
+ + "such as:\n table.iterator.scan.vers = 10,org.apache.accumulo.core.iterators.VersioningIterator\n
"
+ "These iterators can take options if additional properties are set that look
like this property, "
- + "but are suffixed with a period, followed by 'opt' followed by another period,
and a property name.<br />"
+ + "but are suffixed with a period, followed by 'opt' followed by another period,
and a property name.\n"
+ "For example, table.iterator.minc.vers.opt.maxVersions = 3"),
+ TABLE_ITERATOR_SCAN_PREFIX(TABLE_ITERATOR_PREFIX.getKey() + IteratorScope.scan.name()
+ ".", null, PropertyType.PREFIX, "Convenience prefix to find options for the scan iterator
scope"),
+ TABLE_ITERATOR_MINC_PREFIX(TABLE_ITERATOR_PREFIX.getKey() + IteratorScope.minc.name()
+ ".", null, PropertyType.PREFIX, "Convenience prefix to find options for the minc iterator
scope"),
+ TABLE_ITERATOR_MAJC_PREFIX(TABLE_ITERATOR_PREFIX.getKey() + IteratorScope.majc.name()
+ ".", null, PropertyType.PREFIX, "Convenience prefix to find options for the majc iterator
scope"),
TABLE_LOCALITY_GROUP_PREFIX("table.group.", null, PropertyType.PREFIX,
"Properties in this category are per-table properties that define locality groups
in a table. These properties start "
- + "with the category prefix, followed by a name, followed by a period, and followed
by a property for that group.<br />"
+ + "with the category prefix, followed by a name, followed by a period, and followed
by a property for that group.\n"
+ "For example table.group.group1=x,y,z sets the column families for a group called
group1. Once configured, "
- + "group1 can be enabled by adding it to the list of groups in the " + TABLE_LOCALITY_GROUPS.getKey()
+ " property.<br />"
- + "Additional group options may be specified for a named group by setting table.group.<name>.opt.<key>=<value>."),
+ + "group1 can be enabled by adding it to the list of groups in the " + TABLE_LOCALITY_GROUPS.getKey()
+ " property.\n"
+ + "Additional group options may be specified for a named group by setting table.group.<name>.opt.<key>=<value>."),
TABLE_FORMATTER_CLASS("table.formatter", DefaultFormatter.class.getName(), PropertyType.STRING,
"The Formatter class to apply on results in the shell"),
TABLE_INTERPRETER_CLASS("table.interepreter", DefaultScanInterpreter.class.getName(),
PropertyType.STRING,
"The ScanInterpreter class to apply on scan arguments in the shell"),
http://git-wip-us.apache.org/repos/asf/accumulo/blob/8bcf3469/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
----------------------------------------------------------------------
|