private void erlangBucketKeyMR(String bucketType) throws ExecutionException, InterruptedException
{
initValues(bucketType);
Namespace ns = new Namespace(bucketType, mrBucket);
MapReduce mr = new BucketKeyMapReduce.Builder()
.withLocation(new Location(ns, "p1"))
.withLocation(new Location(ns, "p2"))
.withLocation(new Location(ns, "p3"))
.withMapPhase(Function.newErlangFunction("riak_kv_mapreduce", "map_object_value"), false)
.withReducePhase(Function.newErlangFunction("riak_kv_mapreduce","reduce_sort"), true)