Github user keith-turner commented on a diff in the pull request:
https://github.com/apache/accumulo/pull/237#discussion_r109517652
--- Diff:
core/src/test/java/org/apache/accumulo/core/iterators/user/CombinerTest.java ---
@@ -922,4 +923,49 @@ public void testDeleteHandling() throws Exception {
runDeleteHandlingTest(input, expected, null, paritalMajcIe,
".*ERROR.*SummingCombiner.*ACCUMULO-2232.*");
runDeleteHandlingTest(input, expected, null, fullMajcIe,
".*ERROR.*SummingCombiner.*ACCUMULO-2232.*");
}
+
+ /**
+ * Tests the Lossy option will ignore errors in TypedValueCombiner. Uses
SummingArrayCombiner to generate error.
+ */
+ @Test
+ public void testLossyOption() throws IOException,
IllegalAccessException, InstantiationException {
+ Encoder<List<Long>> encoder =
SummingArrayCombiner.VarLongArrayEncoder.class.newInstance();
--- End diff --
Is there a reason could not do `new VarLongArrayEncoder()`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---