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 direction.
BucketMapReduce bmr = new BucketMapReduce.Builder() .withNamespace(new Namespace("default", "bucket2")) .withMapPhase(Function.newNamedJsFunction("Riak.mapValues"), true) .build(); MapReduce.Response response = G.client.execute(bmr); -- View this message in context: http://riak-users.197444.n3.nabble.com/Java-MR-tp4032117p4032216.html Sent from the Riak Users mailing list archive at Nabble.com. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com