Riak 2.0

2014-11-16 Thread sinh nguyen
Hello, I am new to Riak. I installed riak 2.0 and it works fine if i don't turn riak search on. If riak search is turned on (from the config file), riak failed to start. Here is the message from the error log: 2014-11-15 20:27:12.736 [error] 0.538.0@yz_solr_proc:init:91 unable to locate `java`

Re: Riak 2.0

2014-11-16 Thread Luke Bakken
Hi Sinh, Here is the relevant error message: unable to locate `java` on the PATH, shutting down Please install a Java runtime if you'd like to use search. Basho recommends the official runtime from Oracle. http://docs.basho.com/riak/latest/ops/building/installing/jvm/ -- Luke Bakken Engineer /

Re: Can't delete objects being on an indexed bucket_type

2014-11-16 Thread Sean Cribbs
Hi Alex, That's a bug in the Python client. There's an existing issue on the repo for it: https://github.com/basho/riak-python-client/issues/365 In the meantime, here's a workaround: from riak.riak_object import RiakObject RiakObject(bucket, 'testkey').delete() Sorry for the inconvenience.

Re: Can't delete objects being on an indexed bucket_type

2014-11-16 Thread Alex De la rosa
Hi Sean, Seams that the workaround suggested hits the same error: Traceback (most recent call last): File x.py, line 9, in module RiakObject(bucket, 'testkey').delete() File /usr/local/lib/python2.7/dist-packages/riak/riak_object.py, line 335, in delete timeout=timeout) File

Re: Can't delete objects being on an indexed bucket_type

2014-11-16 Thread Sean Cribbs
Sorry, I made a mistake in the example. Try this: RiakObject(bucket._client, bucket, 'testkey').delete() On Sun, Nov 16, 2014 at 3:15 PM, Alex De la rosa alex.rosa@gmail.com wrote: Hi Sean, Seams that the workaround suggested hits the same error: Traceback (most recent call last):

Re: bitcask io mode

2014-11-16 Thread Scott Lystig Fritchie
Oleksiy Krivoshey oleks...@gmail.com wrote: ok Thanks! What kind of negative impact can the NIF mode cause on ok Bitcask? Please see the Long-running NIFs section of http://www.erlang.org/doc/man/erl_nif.html ... and NIF execution blocks the Erlang scheduler thread until the NIF is finished.

How to change riak storage backend property using Scala/Java code

2014-11-16 Thread Ayush Mishra
http://stackoverflow.com/questions/26966032/how-to-change-riak-storage-backend-property-using-scala-java-code# Is there any way to override riak default property using Scala/Java code? {riak_kv, [ ..., {storage_backend, riak_kv_memory_backend}, ... ]}

Re: Can't delete objects being on an indexed bucket_type

2014-11-16 Thread Alex De la rosa
Yeah! this time worked :) thanks! Any ideas when a new release for the Python client coming with that bug fixed? Thanks, Alex On Mon, Nov 17, 2014 at 2:02 AM, Sean Cribbs s...@basho.com wrote: Sorry, I made a mistake in the example. Try this: RiakObject(bucket._client, bucket,