I saw the examples for Riak erlang and JS mapreduce. But I am a JAVA guy :), like to do it in JAVA. Moreover JS mapreduce is deprecated.
- Is there a way to do it in Java? Kindly give a sample.
- I was also looking for a Java sample of Riak 2.0 Search.
In Riak docs steps looks huge for riak-search. This might look like a small cookbook for mapreduce and search. Can it be summarized with actually steps with an example.
ISSUE
I tried the steps in github following is what i see :
./rebar get-deps
==> meck (get-deps)
==> protobuffs (get-deps)
==> hamcrest (get-deps)
==> riak_pb (get-deps)
==> riak-erlang-client (get-deps)
./rebar compile
==> meck (pre_compile)
==> meck (compile)
==> protobuffs (pre_compile)
==> protobuffs (compile)
==> hamcrest (pre_compile)
==> hamcrest (compile)
==> hamcrest (post_compile)
==> riak_pb (pre_compile)
==> riak_pb (compile)
==> riak-erlang-client (compile)
raghuveer@ubuntu:~/erlang-git/riak-erlang-client$ erl -pa $PATH_TO_RIAKC/ebin $PATH_TO_RIAKC/deps/*/ebin
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
Eshell V7.3 (abort with ^G)
1> code:which(riakc_pb_socket).
non_existing