Hi Ari,

I applied the same changes you described to a local single instance
Riak setup and was unable to reproduce your issue.

Can you please answer/provide the following?

- Double-check your configuration changes
- Did you change IP addresses in app.config or vm.args?
- Did you startup Riak before making those IP changes and then attempt
to restart it again afterwards?
- Provide the exact commands you're using to PUT and GET data
- Provide the output of `curl http://localhost:10018/buckets/<BUCKET_NAME>/props

--
Hector


On Wed, Nov 20, 2013 at 5:29 PM, Ari King <ari.brandeis.k...@gmail.com> wrote:
> Update:
>
> I'm able to "GET" information of the buckets I created using the java PB
> client. In both the error and console log files I find the same error
> message. I've searched online but I haven't found anything that explains how
> to resolve the issue. Does anyone know what is the issue and how to solve
> it?
>
> In the error log file I find the following repeated numerous times:
>
> 2013-11-20 19:22:13.715 [error] <0.2067.0> CRASH REPORT Process <0.2067.0>
> with 0 neighbours exited with reason: no match of right hand value
> {error,{db_open,"IO error:
> ./data/anti_entropy/411047335499316445744786359201454599278231027712/MANIFEST-000001:
> Invalid argument"}} in hashtree:new_segment_store/2 line 499 in
> gen_server:init_it/6 line 328
>
> And in the console log file I once again find a similar error notice:
>
> 2013-11-20 21:54:50.796 [info]
> <0.700.0>@riak_kv_vnode:maybe_create_hashtrees:142
> riak_kv/205523667749658222872393179600727299639115513856: unable to start
> index_hashtree: {error,{{badmatch,{error,{db_open,"IO error:
> ./data/anti_entropy/205523667749658222872393179600727299639115513856/MANIFEST-000001:
> Invalid
> argument"}}},[{hashtree,new_segment_store,2,[{file,"src/hashtree.erl"},{line,499}]},{hashtree,new,2,[{file,"src/hashtree.erl"},{line,215}]},{riak_kv_index_hashtree,do_new_tree,2,[{file,"src/riak_kv_index_hashtree.erl"},{line,426}]},{lists,foldl,3,[{file,"lists.erl"},{line,1197}]},{riak_kv_index_hashtree,init_trees,2,[{file,"src/riak_kv_index_hashtree.erl"},{line,366}]},{riak_kv_index_hashtree,init,1,[{file,"src/riak_kv_index_hashtree.erl"},{line,226}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}}
>
>
>
> ---------- Forwarded message ----------
> From: Ari King <ari.brandeis.k...@gmail.com>
> Date: Wed, Nov 20, 2013 at 4:11 PM
> Subject: 404 Error: Object Not Found
> To: riak-users@lists.basho.com
>
>
> I've installed a single node Riak cluster using the 5 minute install guide
> and modified the app.config riak_core to include {target_n_val, 1} and
> {default_bucket_props, [{n_val, 1}]}. I've also set an IP address of
> 192.168.2.25, and set the HTTP port to 10018 respectively.
>
> With this setup, no matter what HTTP request I execute, I receive the error
> below.
>
> Does anyone know what I've done wrong?
>
> * About to connect() to 192.168.2.25 port 10018 (#0)
> *   Trying 192.168.2.25... connected
>> PUT /riak/test/abc123?returnbody=true HTTP/1.1
>> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1
>> zlib/
>> 1.2.3.4 libidn/1.23 librtmp/2.3
>> Host: 192.168.2.25:10018
>> Accept: */*
>> Content-Type: application/json
>> Content-Length: 47
>>
> * upload completely sent off: 47out of 47 bytes
> < HTTP/1.1 404 Object Not Found
> < Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
> < Date: Wed, 20 Nov 2013 20:48:30 GMT
> < Content-Type: text/html
> < Content-Length: 193
> <
> * Connection #0 to host 192.168.2.25 left intact
> * Closing connection #0
>
> Thanks.
>
> -Ari
>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to