Java MR

niedomnie niedomnie at
Wed Dec 3 09:01:20 EST 2014

So I've verified that simple code in Java(1.7) is working fine, but in Groovy
(2.3.6) it is not.
And problem is only in Java Client 2.0. Working with 1.4 is doing fine in
Groovy and Java as well.
Everything is run from Intelij (does not know if matters).
I am astonished. Till now I've tested only on Groovy (thank you Chris again
for a tip).
Still do not understand this but I will be investigate - now I know in what

BucketMapReduce bmr =
                new BucketMapReduce.Builder()
                        .withNamespace(new Namespace("default", "bucket2"))
.withMapPhase(Function.newNamedJsFunction("Riak.mapValues"), true)

MapReduce.Response response = G.client.execute(bmr);

View this message in context:
Sent from the Riak Users mailing list archive at

More information about the riak-users mailing list