public void testMultiKey() throws Exception {
String numElements = "10";
String falsePositive = "0.001";
String hashFunc = "murmur";
TupleFactory tf = TupleFactory.getInstance();
BagFactory bf = BagFactory.getInstance();
String[][] strs = {
{ "fred", "joe", "bob" },
{ "mary", "sally", "jane" },
{ "fido", "spot", "fluffly" } };
DataBag reducerBag = bf.newDefaultBag();
for (int i = 0; i < 3; i++) { // combiner loop
DataBag combinerBag = bf.newDefaultBag();
for (int j = 0; j < 3; j++) { // map loop
Tuple t = tf.newTuple(2);
t.set(0, i * 10 + j);
t.set(1, strs[i][j]);
DataBag mapBag = bf.newDefaultBag();
mapBag.add(t);
Tuple input = tf.newTuple(mapBag);
BuildBloom.Initial map =
new BuildBloom.Initial(hashFunc, numElements,
falsePositive);