the 2.1.0rc1 version of the Python client
available here:
https://pypi.python.org/pypi?:action=displayname=riak#downloads
--
Luke Bakken
CSE
lbak...@basho.com
On Mon, Aug 18, 2014 at 8:47 AM, Alex De la rosa
alex.rosa@gmail.com wrote:
Hi Luke,
Same error:
bucket
in the Solr index. For counts
greater than 3 you might query with counter:[3 TO *].
Hope that helps!
On Mon, Aug 18, 2014 at 8:01 AM, Alex De la rosa
alex.rosa@gmail.com javascript:; wrote:
Hi there,
Can somebody help me with Riak Search 2.0 on Counters? Imagine we have a
counter called
, and
the API is weirded for backward compatibility reasons. You should be able
to search by index name this way.
client.fulltext_search(index, query, **params)
We'll update the docs to match.
Eric
On Aug 18, 2014, at 2:29 PM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi Sean,
Yeah, I
be
usable until it's activated.
On Fri, Aug 15, 2014 at 12:02 PM, Alex De la rosa
alex.rosa@gmail.com wrote:
Hi, thanks for your suggestion, but I would prefer to use the official
packages, and for what I saw on the list some days ago, the new version
was
published, so I wonder why is not yet
Hi there,
I was able to install the latest python client version with pip install
riak==2.1.0rc1, however, counters still fails to work... I used the
following code ( that is the same as in the documentation ):
bucket = client.bucket_type('counter_bucket').bucket('likes')
however I get the
the case, you'd swap the function params:
bucket = client.bucket_type('likes').bucket('counter_bucket')
Hope that helps,
Eric
On Aug 17, 2014, at 10:33 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi there,
I was able to install the latest python client version with pip install
riak
:23 PM, Alex De la rosa
alex.rosa@gmail.com wrote:
Murphy's law... as soon as I post it, as soon as I found why it
failed... I
was missing the following libraries on my Ubuntu Server:
aptitude install build-essential libssl-dev libffi-dev python-dev
After this, the cryptography
Hi there,
I installed riak-2.0rc1 and the Python client through easy_intall riak,
however, when importing the riak library I got the following error:
Traceback (most recent call last):
File x.py, line 1, in module
import riak
File
Hi there,
I installed RIAK using the packagecloud.io repository [
https://packagecloud.io/basho/riak/install ], however, every time that I do
an aptitude update I receive that RIAK has a new version although is not
true:
aptitude safe-upgrade
The following packages will be upgraded:
riak
1
Fixed, instead of using easy_install riak I used pip install riak and
it worked like a charm :)
Thanks!
Alex
On Fri, Aug 15, 2014 at 5:29 PM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi there,
I installed riak-2.0rc1 and the Python client through easy_intall riak,
however, when
Thanks for your reply, I already fixed it deleting everything and using
pip install riak instead.
Thanks!
Alex
On Fri, Aug 15, 2014 at 5:59 PM, tele t...@rhizomatica.org wrote:
Hi Alex,
Try with: pip install cryptography
:tele
On Fri, 15 Aug 2014 17:29:29 +0200
Alex De la rosa
Hi there,
I created a counter bucket called likes with the following shell script:
riak-admin bucket-type create likes '{props:{datatype:counter}}'
When I try to follow the guide [
http://docs.basho.com/riak/2.0.0/dev/using/data-types ] to use this bucket
with Python, I found the following
the version from git and see if you get the same error:
git clone https://github.com/basho/riak-python-client.git
cd riak-python-client
python setup.py install
:tele
On Fri, 15 Aug 2014 18:12:09 +0200
Alex De la rosa alex.rosa@gmail.com wrote:
Hi there,
I created a counter bucket
using riak-admin? It won't be
usable until it's activated.
On Fri, Aug 15, 2014 at 12:02 PM, Alex De la rosa
alex.rosa@gmail.com wrote:
Hi, thanks for your suggestion, but I would prefer to use the official
packages, and for what I saw on the list some days ago, the new version
activate likes*
If that returns *likes has been activated* or something along those
lines, then the bucket type is ready to be used.
Luc
On Fri, Aug 15, 2014 at 10:37 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi Sean,
I activated the bucket as follows:
riak-admin bucket-type
Awesome!! Can't wait to get my hands on it and Riak 2.0rc1! :)
Thanks!
Alex
On Wednesday, July 30, 2014, Sean Cribbs s...@basho.com wrote:
Hey Riak Users,
We've just pushed a release candidate of the official Python client to
PyPi [1]. This package includes support for Riak 2.0.0 RC1
Hi there,
Is there any estimate time for the Python Client to be released so we can
use Counters, Sets, Maps, etc... properly?
Thanks!
Alex
___
riak-users mailing list
riak-users@lists.basho.com
, 2014 at 10:31 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi there,
Is there any estimate time for the Python Client to be released so we can
use Counters, Sets, Maps, etc... properly?
Thanks!
Alex
___
riak-users mailing list
riak
are still being finalized. Word on the street is the Java
client RC will be very soon, and the other clients will follow. The person
who would know best has today off, but stay tuned.
Thanks,
Jared
On Mon, Jul 21, 2014 at 3:38 PM, Alex De la rosa alex.rosa@gmail.com
wrote:
Awesome
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
it because
the client is not fully operational.
Cheers,
Alex
On Tue, Jul 1, 2014 at 10:38 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
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
, 2014 at 2:10 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
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
, Jul 1, 2014 at 3:32 PM, Alex De la rosa alex.rosa@gmail.com
wrote:
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
have everything working via
your virtualenv-environment, update your global environment.
--
Luke Bakken
CSE
lbak...@basho.com
On Tue, Jul 1, 2014 at 6:40 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Ok... now is worse... i removed my old Python client EGG and cloned the
GIT
That should ensure that all the proper dependencies are installed.
On Tue, Jul 1, 2014 at 8:52 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
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
installed Python dependencies via pip or easy_install. In general, I
would distrust the distribution version because they tend to be out-of-date.
On Tue, Jul 1, 2014 at 9:07 AM, Alex De la rosa alex.rosa@gmail.com
javascript:_e(%7B%7D,'cvml','alex.rosa@gmail.com'); wrote:
Hi Sean,
I
page
http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Stanchion/
.
Keep the questions coming, if I don't know the details I'll hand off to
Engineers more knowledgable with RiakCS.
-Jared
On Sun, Jun 29, 2014 at 5:58 AM, Alex De la rosa alex.rosa@gmail.com
in this regard. Basho
is introducing sets in riak 2.0 but I don't think they will bee sorted sets
like in redis.
-Alexander
@siculars
http://siculars.posthaven.com
Sent from my iRotaryPhone
On Jun 29, 2014, at 15:54, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi there,
I have a question
instead enable Riak Search 2.0
for the bucket and query the largest values through Solr, which should be
more efficient and flexible than using MapReduce.
Best regards,
Christian
On Mon, Jun 30, 2014 at 7:17 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
A set may not be a good
Hi there,
Imaging the following IP configuration for Riak 2.0:
# /etc/riak/riak.conf
nodename = riak@111.222.333.1
listener.http.internal = 127.0.0.1:8098
listener.protobuf.internal = 127.0.0.1:8087
listener.https.internal = 127.0.0.1:8098
I put the server's real IP in the nodename so they can
authenticity of clients, as well as
confidentiality.
On Mon, Jun 30, 2014 at 2:47 AM, Alex De la rosa
alex.rosa@gmail.com wrote:
Hi there,
Imaging the following IP configuration for Riak 2.0:
# /etc/riak/riak.conf
nodename = riak@111.222.333.1
listener.http.internal
, 2014, at 3:10 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi Jared,
Thanks for your explanation and links... my next question is... Is
Stanchion
not a single-point of failure? One of the things I like in Standard Riak
is
that every node has the same level, there are no masters
, and really just want file storage.
- Original Message -
From: Alex De la rosa alex.rosa@gmail.com
To: Hector Castro hec...@basho.com
Cc: riak-users riak-users@lists.basho.com
Sent: Friday, 27 June, 2014 6:55:13 AM
Subject: Re: Riak for streaming video
Hi Hector,
Thanks for your
Hi there,
I have a question about something that just came up to my mind... can we
determine which counter is higher in a bucket? For example:
# Taking the FIFA World Cup as example:
bucket = client.bucket_type('counter_bucket').bucket('goals')
counter = bucket.new('Neymar')
Hi there,
Can somebody help me understand a bit better the bucket quorums? I will use
the Python API to write code examples:
Imagine we are building a web app like twitter, and we want fast read
(although not need to be consistent) and safe writings, this R/W
combination is appropriate?
bucket
useful.
http://basho.com/understanding-riaks-configurable-behaviors-part-1/
Sent from my iPhone
On Jun 28, 2014, at 5:56 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi there,
Can somebody help me understand a bit better the bucket quorums? I will
use the Python API to write code
consistency. Leaving again just the
real need to set r and w if we want to speed up any of the processes.
Am I right?
Cheers,
Alex
On Sat, Jun 28, 2014 at 8:41 PM, Sean Cribbs s...@basho.com wrote:
On Sat, Jun 28, 2014 at 4:55 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi there,
Can
Hi there,
Imagine that I want to use Riak for a video service like Youtube and I save
the video file in Riak... is there a way to stream the contents of 1 key? I
know we can stream keys... but what about its content?
It would be pretty troublesome to have to wait for the full data to be
]
http://docs.basho.com/riakcs/latest/references/apis/storage/s3/RiakCS-GET-Object/#Examples
On Thu, Jun 26, 2014 at 3:22 PM, Alex De la rosa
alex.rosa@gmail.com wrote:
Hi there,
Imagine that I want to use Riak for a video service like Youtube and I
save
the video file in Riak
, 2014 at 10:45 PM, Hector Castro hec...@basho.com wrote:
Hey Alex,
My response are inline below.
--
Hector
On Thu, Jun 26, 2014 at 4:26 PM, Alex De la rosa
alex.rosa@gmail.com wrote:
Hi Hector,
I see, I always thought that Riak CS was the same as Riak just that you
run
Hi there,
Using the Python client, in the documentation I can read this:
The client maintains a connection pool behind the scenes, one for each
protocol. Connections are opened as-needed; a random node is selected when
a new connection is requested.
Imagine that I create my connection like
Hi there,
I was testing 2i via PBC on Python and I found a wrong behaviour, this is
my code:
---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---
import riak
client = riak.RiakClient(protocol='pbc',
** SORRY, WAS SEND BEFORE I FINISHED **
Hi there,
I was testing 2i via PBC on Python and I found a wrong behaviour, this is
my code:
---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---
import riak
client =
when *opening* a connection. After
that, it just uses what is first available in the pool.
We have an outstanding plan to support auto-configuring clients, but that
work did not make it into the 2.0 cycle.
On Wed, Jun 25, 2014 at 7:18 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi
that you'd like. The only reserved term for bucket types
is *default*.
Luc
On Tue, Jun 24, 2014 at 12:31 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
By the way, I have the following error using PBC on Riak 2.0:
test.py
Riak 2.0 features have been merged to master on the Python client,
including CRDTs. We are in final testing of that feature and will have a
release candidate package of the client out soon.
On Tue, Jun 24, 2014 at 5:26 AM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi Luc,
I tried your
Hi there,
I just installed RIAK 2.0 beta 1 and was playing with the Python library
using 'pbc' (Protocol Buffers).
test.py
+++++++++++
import riak
client = riak.RiakClient(host ='127.0.0.1', http_port
('application/pb-person', Person.ParseFromString)
client.set_encoder('application/pb-person', lambda x:
x.SerializeToString())
[1]
http://riak-python-client.readthedocs.org/en/latest/client.html#serialization
Cheers,
On Mon, Jun 23, 2014 at 9:19 AM, Alex De la rosa alex.rosa@gmail.com
wrote
23, 2014 at 4:54 PM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi Sean,
Thanks for your quick reply, is what i suspected, moreover after checking
riak.proto file in the source. So mainly the contents to store (json or not
json) is not PB encoded semantically, but is encoded as a body
will correct me if I’ve misspoken.
Brett
[1] http://docs.basho.com/riak/2.0.0beta1/dev/advanced/search/
On June 23, 2014 at 10:47:45 AM, Alex De la rosa (alex.rosa@gmail.com)
wrote:
Hi Luc,
Cool, thanks! I can see how to do it now:
bucket = client.bucket_type('counter_bucket').bucket
-types.md
Thanks,
Alex
On Mon, Jun 23, 2014 at 10:03 PM, Alex De la rosa alex.rosa@gmail.com
wrote:
Hi Bret,
Thanks for your reply, I had used Riak since version 0.14 via HTTP... for
2.0 I decided to do the switch to PBC and I'm glad to hear all HTTP calls
has been migrated to PBC too
101 - 151 of 151 matches
Mail list logo