Re: Question about counters

2014-07-01 Thread Alex De la rosa
Hi there, I found out why Riak was not starting when I enabled it... JAVA was not installed!!... However, after installing Java and successfully started Riak with search enabled, when trying to use search it crashes very badly, this is the Java Version I have under Ubuntu Server 14.04 LTS: java

Re: Question about counters

2014-07-01 Thread Alex De la rosa
I found out on http://docs.basho.com/riak/2.0.0beta1/dev/using/search that in Riak 2.0 additional steps are needed... i fixed my code as follows, but still crashing: -+-+-+-+-+-+-+-+-+-+ -+-+-+-+- import riak client =

Java CRDTs implementation

2014-07-01 Thread David Lopes
Hi, do you know where I can find some CRDTs Java implementation of LWW-Sets or Registers? Thanks, David ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Java CRDTs implementation

2014-07-01 Thread Russell Brown
There is an akka implementation here https://github.com/patriknw/akka-datareplication LWW-Set and LWW-Regsiter should be pretty easy to make, if you can’t use the akka code. On 1 Jul 2014, at 10:45, David Lopes david.anlo...@gmail.com wrote: Hi, do you know where I can find some CRDTs

Re: Question about counters

2014-07-01 Thread Luke Bakken
Hi Alex, Search in Riak 2.0 does require a JVM to be installed as you found. create_search_index is part of the master branch of the Python client: lbakken ~/Projects/basho/riak-python-client (master=) $ git grep create_search_index riak/client/operations.py:461:def

Re: Question about counters

2014-07-01 Thread Alex De la rosa
I actually have the latest version available (2.0.3), I got it like this: easy_install https://pypi.python.org/packages/2.7/r/riak/riak-2.0.3-py2.7.egg If I clone the GIT repository, may I have problems as I have the easy_install package already? would it conflict somehow? Cheers, Alex On

Re: Question about counters

2014-07-01 Thread Alex De la rosa
Ok... now is worse... i removed my old Python client EGG and cloned the GIT repository, and after install it, I get the following error: Traceback (most recent call last): File test.py, line 13, in module import riak File build/bdist.linux-x86_64/egg/riak/__init__.py, line 59, in module

Re: Question about counters

2014-07-01 Thread Luke Bakken
Alex, I did a Google search on the following string: ImportError: No module named cryptography.hazmat.bindings.openssl.binding Your python2-pyopenssl module may be out of date. I would recommend first uninstalling the Python Riak client from your global Python libraries. Then, use virtualenv to

Re: Question about counters

2014-07-01 Thread Alex De la rosa
Uhm... I'm new to Python so that sounds like Chinese to me... I will have to look online how to do all that, see if I can fix it. Cheers, Alex On Tue, Jul 1, 2014 at 3:50 PM, Luke Bakken lbak...@basho.com wrote: Alex, I did a Google search on the following string: ImportError: No module

Re: Question about counters

2014-07-01 Thread Sean Cribbs
Alex, As I might have mentioned before, the Python client is in a bit of flux right now as we try to complete support for the Riak 2.0 features. In order to support Riak 2.0's security capabilities, we have had to pull in pyOpenSSL as a dependency (which has its own dependencies as well), which

Re: Question about counters

2014-07-01 Thread Alex De la rosa
Hi Sean, I indeed installed the GIT client with python setup.py install and then is when this error happened. Cheers, Alex On Tue, Jul 1, 2014 at 4:03 PM, Sean Cribbs s...@basho.com wrote: Alex, As I might have mentioned before, the Python client is in a bit of flux right now as we try to

Re: Question about counters

2014-07-01 Thread Sean Cribbs
Sorry, I don't know how to fix that then. I don't know whether an updated package for any of those is available via Ubuntu or PPA, because I've always installed Python dependencies via pip or easy_install. In general, I would distrust the distribution version because they tend to be out-of-date.

Re: Question about counters

2014-07-01 Thread Alex De la rosa
Is ok, I will manage to fix it, if not I will just remake my VM. Cheers, Alex On Tuesday, July 1, 2014, Sean Cribbs s...@basho.com wrote: Sorry, I don't know how to fix that then. I don't know whether an updated package for any of those is available via Ubuntu or PPA, because I've always

CS: Query path for storage/access statistics appears wrong?

2014-07-01 Thread Toby Corkindale
Hi, Maybe I'm doing something wrong, but I find I can only access the Riak CS storage/access information per-user by using the s3-compatible path, not the REST API path -- even though I am connecting to the REST API port. ie. To get the statistics, I am querying