Re: Can't delete objects from Riak KV
Hi Alex - Can you ensure that the node name in riak.conf matches the IP address of your machine and also is the same IP in the "RPC to 'r...@xx.xx.xx.xx' failed:" message? Is there a chance that this machine had a different IP address the first time you started Riak on it? -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 14, 2016 at 7:24 AM, Alex De la rosa wrote: > I only have 1 node, is for testing purposes. > > riak-admin security status > > RPC to 'r...@xx.xx.xx.xx' failed: {'EXIT', > > {undef, > >[{riak_core_console,security_status, > > [[]], > > []}, > > {rpc,'-handle_call_call/6-fun-0-',5, > > [{file,"rpc.erl"},{line,205}]}]}} > > Thanks, > Alex > > > On Thu, Apr 14, 2016 at 6:23 PM, Luke Bakken wrote: >> >> Just to be sure, could you run this command on all nodes to ensure >> security is disabled? >> >> riak-admin security status >> -- >> Luke Bakken >> Engineer >> lbak...@basho.com >> >> >> On Thu, Apr 14, 2016 at 7:07 AM, Alex De la rosa >> wrote: >> > I seem to be having this error messages on the log, any ideas? >> > >> > 2016-04-14 16:03:00.460 [error] <0.5460.8143> CRASH REPORT Process >> > <0.5460.8143> with 0 neighbours crashed with reason: call to undefined >> > function webmachine_error_handler:render_error(404, >> > >> > {webmachine_request,{wm_reqstate,#Port<0.147587697>,[],undefined,undefined,"xx.xx.xx.xx",{wm_reqdata,...},...}}, >> > {none,none,[]}) >> > >> > Thanks, >> > Alex >> > >> > On Thu, Apr 14, 2016 at 6:04 PM, Luke Bakken wrote: >> >> >> >> Hi Alex, >> >> >> >> Thanks for running that. This proves that it is not a Python client >> >> issue. You can see the transcript of storing, fetching and deleting an >> >> object successfully here: >> >> https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda >> >> >> >> At this point, I suggest checking the error.log files on each Riak >> >> node for information. Or, if you run "riak-debug" on your cluster and >> >> provide the archives somewhere (private access), I could take a look. >> >> >> >> -- >> >> Luke Bakken >> >> Engineer >> >> lbak...@basho.com >> >> >> >> >> >> On Thu, Apr 14, 2016 at 6:57 AM, Alex De la rosa >> >> wrote: >> >> > Hi Luke, I tried and get this and didn't work: >> >> > >> >> > ~ # curl -4vvv -XDELETE >> >> > http://xx.xx.xx.xx:8098/buckets/test/keys/something >> >> > * Hostname was NOT found in DNS cache >> >> > * Trying xx.xx.xx.xx... >> >> > * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) >> >> >> DELETE /buckets/test/keys/something HTTP/1.1 >> >> >> User-Agent: curl/7.35.0 >> >> >> Host: xx.xx.xx.xx:8098 >> >> >> Accept: */* >> >> >> >> >> > * Empty reply from server >> >> > * Connection #0 to host xx.xx.xx.xx left intact >> >> > curl: (52) Empty reply from server >> >> > >> >> > Thanks, >> >> > Alex >> >> > >> >> > On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa >> >> > >> >> > wrote: >> >> >> >> >> >> I can try that, but I would like to do it via the python client >> >> >> itself... >> >> >> >> >> >> Thanks, >> >> >> Rohman >> >> >> >> >> >> On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken >> >> >> wrote: >> >> >>> >> >> >>> Hi Alex, >> >> >>> >> >> >>> Can you use the HTTP API to delete an object? Something like: >> >> >>> >> >> >>> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something >> >> >>> >> >> >>> -- >> >> >>> Luke Bakken >> >> >>> Engineer >> >> >>> lbak...@basho.com >> >> >>> >> >> >>> >> >> >>> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa >> >> >>> wrote: >> >> >>> > I upgraded the Python library to the latest and is still >> >> >>> > failing... >> >> >>> > I'm >> >> >>> > unable to delete any objects at all. >> >> >>> > >> >> >>> > ~ # pip show riak >> >> >>> > --- >> >> >>> > Name: riak >> >> >>> > Version: 2.4.2 >> >> >>> > Location: /usr/local/lib/python2.7/dist-packages >> >> >>> > Requires: six, pyOpenSSL, protobuf >> >> >>> > >> >> >>> > Everything else seems fine, just timeouts when deleting :( >> >> >>> > >> >> >>> > Thanks, >> >> >>> > Alex >> >> >>> > >> >> >>> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa >> >> >>> > >> >> >>> > wrote: >> >> >>> >> >> >> >>> >> Hi there, >> >> >>> >> >> >> >>> >> I'm trying to delete objects from riak with the python library >> >> >>> >> and >> >> >>> >> is >> >> >>> >> timing out, any ideas? (this example is from a simple object, >> >> >>> >> but >> >> >>> >> also >> >> >>> >> have >> >> >>> >> issues with bucket types with map objects, etc...)... Just I >> >> >>> >> seem >> >> >>> >> to >> >> >>> >> unable >> >> >>> >> to delete anything, just times out. >> >> >>> >> >> >> >>> >> >>> import riak >> >> >>> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': >> >> >>> >> >>> '', >> >> >>> >> >>> 'http_port': 8098, 'pb_port': 8087}]) >> >> >>> >> >>> x = RIAK.buc
Re: is Riak S2 same as Riak CS 2.1.1??
Perfect, good to know :) thanks Yeah, is pretty confusing, I though I was just hitting some old release or something. Thanks, Alex On Thu, Apr 14, 2016 at 6:56 PM, Justin Pease wrote: > Alex, > > Apologies for the confusion. Riak S2 is a rebranding of Riak CS. So yes, > they are the same. > > -- > > *Justin Pease* > VP, Services > Basho Technologies, Inc. > > > > On Thu, Apr 14, 2016 at 8:35 AM, Alex De la rosa > wrote: > >> Hi there, >> >> I was trying to download Riak S2 to do some testings on it, but seems the >> download page takes you to Riak CS2.1.1: >> >> http://docs.basho.com/riak/cs/2.1.1/downloads/ >> >> Are they the same? >> >> Also, in https://packagecloud.io/basho there is no indications of >> Riak-s2 but Riak-cs. >> >> Is very confusing. >> >> Thanks, >> Alex >> >> ___ >> 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
Re: is Riak S2 same as Riak CS 2.1.1??
Alex, Apologies for the confusion. Riak S2 is a rebranding of Riak CS. So yes, they are the same. -- *Justin Pease* VP, Services Basho Technologies, Inc. On Thu, Apr 14, 2016 at 8:35 AM, Alex De la rosa wrote: > Hi there, > > I was trying to download Riak S2 to do some testings on it, but seems the > download page takes you to Riak CS2.1.1: > > http://docs.basho.com/riak/cs/2.1.1/downloads/ > > Are they the same? > > Also, in https://packagecloud.io/basho there is no indications of Riak-s2 > but Riak-cs. > > Is very confusing. > > Thanks, > Alex > > ___ > 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
is Riak S2 same as Riak CS 2.1.1??
Hi there, I was trying to download Riak S2 to do some testings on it, but seems the download page takes you to Riak CS2.1.1: http://docs.basho.com/riak/cs/2.1.1/downloads/ Are they the same? Also, in https://packagecloud.io/basho there is no indications of Riak-s2 but Riak-cs. Is very confusing. Thanks, Alex ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Can't delete objects from Riak KV
Hi Alex, It looks like Riak couldn't find the objected to delete (404), but ran into an issue generating the 404 response. Could you send the output from `riak-debug` to either Luke or myself? Thanks, Alex On Thu, Apr 14, 2016 at 10:07 AM, Alex De la rosa wrote: > I seem to be having this error messages on the log, any ideas? > > 2016-04-14 16:03:00.460 [error] <0.5460.8143> CRASH REPORT Process > <0.5460.8143> with 0 neighbours crashed with reason: call to undefined > function webmachine_error_handler:render_error(404, > {webmachine_request,{wm_reqstate,#Port<0.147587697>,[],undefined,undefined,"xx.xx.xx.xx",{wm_reqdata,...},...}}, > {none,none,[]}) > Thanks, > Alex > > On Thu, Apr 14, 2016 at 6:04 PM, Luke Bakken wrote: > >> Hi Alex, >> >> Thanks for running that. This proves that it is not a Python client >> issue. You can see the transcript of storing, fetching and deleting an >> object successfully here: >> https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda >> >> At this point, I suggest checking the error.log files on each Riak >> node for information. Or, if you run "riak-debug" on your cluster and >> provide the archives somewhere (private access), I could take a look. >> >> -- >> Luke Bakken >> Engineer >> lbak...@basho.com >> >> >> On Thu, Apr 14, 2016 at 6:57 AM, Alex De la rosa >> wrote: >> > Hi Luke, I tried and get this and didn't work: >> > >> > ~ # curl -4vvv -XDELETE >> http://xx.xx.xx.xx:8098/buckets/test/keys/something >> > * Hostname was NOT found in DNS cache >> > * Trying xx.xx.xx.xx... >> > * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) >> >> DELETE /buckets/test/keys/something HTTP/1.1 >> >> User-Agent: curl/7.35.0 >> >> Host: xx.xx.xx.xx:8098 >> >> Accept: */* >> >> >> > * Empty reply from server >> > * Connection #0 to host xx.xx.xx.xx left intact >> > curl: (52) Empty reply from server >> > >> > Thanks, >> > Alex >> > >> > On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa < >> alex.rosa@gmail.com> >> > wrote: >> >> >> >> I can try that, but I would like to do it via the python client >> itself... >> >> >> >> Thanks, >> >> Rohman >> >> >> >> On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken >> wrote: >> >>> >> >>> Hi Alex, >> >>> >> >>> Can you use the HTTP API to delete an object? Something like: >> >>> >> >>> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something >> >>> >> >>> -- >> >>> Luke Bakken >> >>> Engineer >> >>> lbak...@basho.com >> >>> >> >>> >> >>> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa >> >>> wrote: >> >>> > I upgraded the Python library to the latest and is still failing... >> I'm >> >>> > unable to delete any objects at all. >> >>> > >> >>> > ~ # pip show riak >> >>> > --- >> >>> > Name: riak >> >>> > Version: 2.4.2 >> >>> > Location: /usr/local/lib/python2.7/dist-packages >> >>> > Requires: six, pyOpenSSL, protobuf >> >>> > >> >>> > Everything else seems fine, just timeouts when deleting :( >> >>> > >> >>> > Thanks, >> >>> > Alex >> >>> > >> >>> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa >> >>> > >> >>> > wrote: >> >>> >> >> >>> >> Hi there, >> >>> >> >> >>> >> I'm trying to delete objects from riak with the python library and >> is >> >>> >> timing out, any ideas? (this example is from a simple object, but >> also >> >>> >> have >> >>> >> issues with bucket types with map objects, etc...)... Just I seem >> to >> >>> >> unable >> >>> >> to delete anything, just times out. >> >>> >> >> >>> >> >>> import riak >> >>> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': >> >>> >> >>> '', >> >>> >> >>> 'http_port': 8098, 'pb_port': 8087}]) >> >>> >> >>> x = RIAK.bucket('test').get('something') >> >>> >> >>> print x.data >> >>> >> {"something":"here"} >> >>> >> >>> x.delete() >> >>> >> Traceback (most recent call last): >> >>> >> File "", line 1, in >> >>> >> File >> "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", >> >>> >> line >> >>> >> 329, in delete >> >>> >> timeout=timeout) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >>> >> line 196, in wrapper >> >>> >> return self._with_retries(pool, thunk) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >>> >> line 138, in _with_retries >> >>> >> return fn(transport) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >>> >> line 194, in thunk >> >>> >> return fn(self, transport, *args, **kwargs) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", >> >>> >> line 744, in delete >> >>> >> pw=pw, timeout=timeout) >> >>> >> File >> >>> >> >> >>> >> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", >> >>> >> line 283, in delete >> >>> >> riak.pb.messages.MSG_CODE_DEL_RESP) >> >>> >> File >> >>> >> >> >>> >> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >> >>
Re: Can't delete objects from Riak KV
I only have 1 node, is for testing purposes. riak-admin security status RPC to 'r...@xx.xx.xx.xx' failed: {'EXIT', {undef, [{riak_core_console,security_status, [[]], []}, {rpc,'-handle_call_call/6-fun-0-',5, [{file,"rpc.erl"},{line,205}]}]}} Thanks, Alex On Thu, Apr 14, 2016 at 6:23 PM, Luke Bakken wrote: > Just to be sure, could you run this command on all nodes to ensure > security is disabled? > > riak-admin security status > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Thu, Apr 14, 2016 at 7:07 AM, Alex De la rosa > wrote: > > I seem to be having this error messages on the log, any ideas? > > > > 2016-04-14 16:03:00.460 [error] <0.5460.8143> CRASH REPORT Process > > <0.5460.8143> with 0 neighbours crashed with reason: call to undefined > > function webmachine_error_handler:render_error(404, > > > {webmachine_request,{wm_reqstate,#Port<0.147587697>,[],undefined,undefined,"xx.xx.xx.xx",{wm_reqdata,...},...}}, > > {none,none,[]}) > > > > Thanks, > > Alex > > > > On Thu, Apr 14, 2016 at 6:04 PM, Luke Bakken wrote: > >> > >> Hi Alex, > >> > >> Thanks for running that. This proves that it is not a Python client > >> issue. You can see the transcript of storing, fetching and deleting an > >> object successfully here: > >> https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda > >> > >> At this point, I suggest checking the error.log files on each Riak > >> node for information. Or, if you run "riak-debug" on your cluster and > >> provide the archives somewhere (private access), I could take a look. > >> > >> -- > >> Luke Bakken > >> Engineer > >> lbak...@basho.com > >> > >> > >> On Thu, Apr 14, 2016 at 6:57 AM, Alex De la rosa > >> wrote: > >> > Hi Luke, I tried and get this and didn't work: > >> > > >> > ~ # curl -4vvv -XDELETE > >> > http://xx.xx.xx.xx:8098/buckets/test/keys/something > >> > * Hostname was NOT found in DNS cache > >> > * Trying xx.xx.xx.xx... > >> > * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) > >> >> DELETE /buckets/test/keys/something HTTP/1.1 > >> >> User-Agent: curl/7.35.0 > >> >> Host: xx.xx.xx.xx:8098 > >> >> Accept: */* > >> >> > >> > * Empty reply from server > >> > * Connection #0 to host xx.xx.xx.xx left intact > >> > curl: (52) Empty reply from server > >> > > >> > Thanks, > >> > Alex > >> > > >> > On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa > >> > > >> > wrote: > >> >> > >> >> I can try that, but I would like to do it via the python client > >> >> itself... > >> >> > >> >> Thanks, > >> >> Rohman > >> >> > >> >> On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken > wrote: > >> >>> > >> >>> Hi Alex, > >> >>> > >> >>> Can you use the HTTP API to delete an object? Something like: > >> >>> > >> >>> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something > >> >>> > >> >>> -- > >> >>> Luke Bakken > >> >>> Engineer > >> >>> lbak...@basho.com > >> >>> > >> >>> > >> >>> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa > >> >>> wrote: > >> >>> > I upgraded the Python library to the latest and is still > failing... > >> >>> > I'm > >> >>> > unable to delete any objects at all. > >> >>> > > >> >>> > ~ # pip show riak > >> >>> > --- > >> >>> > Name: riak > >> >>> > Version: 2.4.2 > >> >>> > Location: /usr/local/lib/python2.7/dist-packages > >> >>> > Requires: six, pyOpenSSL, protobuf > >> >>> > > >> >>> > Everything else seems fine, just timeouts when deleting :( > >> >>> > > >> >>> > Thanks, > >> >>> > Alex > >> >>> > > >> >>> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa > >> >>> > > >> >>> > wrote: > >> >>> >> > >> >>> >> Hi there, > >> >>> >> > >> >>> >> I'm trying to delete objects from riak with the python library > and > >> >>> >> is > >> >>> >> timing out, any ideas? (this example is from a simple object, but > >> >>> >> also > >> >>> >> have > >> >>> >> issues with bucket types with map objects, etc...)... Just I seem > >> >>> >> to > >> >>> >> unable > >> >>> >> to delete anything, just times out. > >> >>> >> > >> >>> >> >>> import riak > >> >>> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': > >> >>> >> >>> '', > >> >>> >> >>> 'http_port': 8098, 'pb_port': 8087}]) > >> >>> >> >>> x = RIAK.bucket('test').get('something') > >> >>> >> >>> print x.data > >> >>> >> {"something":"here"} > >> >>> >> >>> x.delete() > >> >>> >> Traceback (most recent call last): > >> >>> >> File "", line 1, in > >> >>> >> File > >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", > >> >>> >> line > >> >>> >> 329, in delete > >> >>> >> timeout=timeout) > >> >>> >> File > >> >>> >> > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >> >>> >> line 196, in wrapper > >> >>> >> return self._with_retries(pool, thunk) > >> >>> >> File > >> >>> >> > "/usr/l
Re: Can't delete objects from Riak KV
Just to be sure, could you run this command on all nodes to ensure security is disabled? riak-admin security status -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 14, 2016 at 7:07 AM, Alex De la rosa wrote: > I seem to be having this error messages on the log, any ideas? > > 2016-04-14 16:03:00.460 [error] <0.5460.8143> CRASH REPORT Process > <0.5460.8143> with 0 neighbours crashed with reason: call to undefined > function webmachine_error_handler:render_error(404, > {webmachine_request,{wm_reqstate,#Port<0.147587697>,[],undefined,undefined,"xx.xx.xx.xx",{wm_reqdata,...},...}}, > {none,none,[]}) > > Thanks, > Alex > > On Thu, Apr 14, 2016 at 6:04 PM, Luke Bakken wrote: >> >> Hi Alex, >> >> Thanks for running that. This proves that it is not a Python client >> issue. You can see the transcript of storing, fetching and deleting an >> object successfully here: >> https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda >> >> At this point, I suggest checking the error.log files on each Riak >> node for information. Or, if you run "riak-debug" on your cluster and >> provide the archives somewhere (private access), I could take a look. >> >> -- >> Luke Bakken >> Engineer >> lbak...@basho.com >> >> >> On Thu, Apr 14, 2016 at 6:57 AM, Alex De la rosa >> wrote: >> > Hi Luke, I tried and get this and didn't work: >> > >> > ~ # curl -4vvv -XDELETE >> > http://xx.xx.xx.xx:8098/buckets/test/keys/something >> > * Hostname was NOT found in DNS cache >> > * Trying xx.xx.xx.xx... >> > * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) >> >> DELETE /buckets/test/keys/something HTTP/1.1 >> >> User-Agent: curl/7.35.0 >> >> Host: xx.xx.xx.xx:8098 >> >> Accept: */* >> >> >> > * Empty reply from server >> > * Connection #0 to host xx.xx.xx.xx left intact >> > curl: (52) Empty reply from server >> > >> > Thanks, >> > Alex >> > >> > On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa >> > >> > wrote: >> >> >> >> I can try that, but I would like to do it via the python client >> >> itself... >> >> >> >> Thanks, >> >> Rohman >> >> >> >> On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken wrote: >> >>> >> >>> Hi Alex, >> >>> >> >>> Can you use the HTTP API to delete an object? Something like: >> >>> >> >>> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something >> >>> >> >>> -- >> >>> Luke Bakken >> >>> Engineer >> >>> lbak...@basho.com >> >>> >> >>> >> >>> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa >> >>> wrote: >> >>> > I upgraded the Python library to the latest and is still failing... >> >>> > I'm >> >>> > unable to delete any objects at all. >> >>> > >> >>> > ~ # pip show riak >> >>> > --- >> >>> > Name: riak >> >>> > Version: 2.4.2 >> >>> > Location: /usr/local/lib/python2.7/dist-packages >> >>> > Requires: six, pyOpenSSL, protobuf >> >>> > >> >>> > Everything else seems fine, just timeouts when deleting :( >> >>> > >> >>> > Thanks, >> >>> > Alex >> >>> > >> >>> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa >> >>> > >> >>> > wrote: >> >>> >> >> >>> >> Hi there, >> >>> >> >> >>> >> I'm trying to delete objects from riak with the python library and >> >>> >> is >> >>> >> timing out, any ideas? (this example is from a simple object, but >> >>> >> also >> >>> >> have >> >>> >> issues with bucket types with map objects, etc...)... Just I seem >> >>> >> to >> >>> >> unable >> >>> >> to delete anything, just times out. >> >>> >> >> >>> >> >>> import riak >> >>> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': >> >>> >> >>> '', >> >>> >> >>> 'http_port': 8098, 'pb_port': 8087}]) >> >>> >> >>> x = RIAK.bucket('test').get('something') >> >>> >> >>> print x.data >> >>> >> {"something":"here"} >> >>> >> >>> x.delete() >> >>> >> Traceback (most recent call last): >> >>> >> File "", line 1, in >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", >> >>> >> line >> >>> >> 329, in delete >> >>> >> timeout=timeout) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >>> >> line 196, in wrapper >> >>> >> return self._with_retries(pool, thunk) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >>> >> line 138, in _with_retries >> >>> >> return fn(transport) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >>> >> line 194, in thunk >> >>> >> return fn(self, transport, *args, **kwargs) >> >>> >> File >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", >> >>> >> line 744, in delete >> >>> >> pw=pw, timeout=timeout) >> >>> >> File >> >>> >> >> >>> >> >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", >> >>> >> line 283, in delete >> >>> >> riak.pb.messages.MSG_CODE_DEL_RESP) >> >>> >> File >> >>> >> >> >>> >> >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >> >>> >> line 34, in _requ
Re: Can't delete objects from Riak KV
I seem to be having this error messages on the log, any ideas? 2016-04-14 16:03:00.460 [error] <0.5460.8143> CRASH REPORT Process <0.5460.8143> with 0 neighbours crashed with reason: call to undefined function webmachine_error_handler:render_error(404, {webmachine_request,{wm_reqstate,#Port<0.147587697>,[],undefined,undefined,"xx.xx.xx.xx",{wm_reqdata,...},...}}, {none,none,[]}) Thanks, Alex On Thu, Apr 14, 2016 at 6:04 PM, Luke Bakken wrote: > Hi Alex, > > Thanks for running that. This proves that it is not a Python client > issue. You can see the transcript of storing, fetching and deleting an > object successfully here: > https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda > > At this point, I suggest checking the error.log files on each Riak > node for information. Or, if you run "riak-debug" on your cluster and > provide the archives somewhere (private access), I could take a look. > > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Thu, Apr 14, 2016 at 6:57 AM, Alex De la rosa > wrote: > > Hi Luke, I tried and get this and didn't work: > > > > ~ # curl -4vvv -XDELETE > http://xx.xx.xx.xx:8098/buckets/test/keys/something > > * Hostname was NOT found in DNS cache > > * Trying xx.xx.xx.xx... > > * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) > >> DELETE /buckets/test/keys/something HTTP/1.1 > >> User-Agent: curl/7.35.0 > >> Host: xx.xx.xx.xx:8098 > >> Accept: */* > >> > > * Empty reply from server > > * Connection #0 to host xx.xx.xx.xx left intact > > curl: (52) Empty reply from server > > > > Thanks, > > Alex > > > > On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa < > alex.rosa@gmail.com> > > wrote: > >> > >> I can try that, but I would like to do it via the python client > itself... > >> > >> Thanks, > >> Rohman > >> > >> On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken wrote: > >>> > >>> Hi Alex, > >>> > >>> Can you use the HTTP API to delete an object? Something like: > >>> > >>> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something > >>> > >>> -- > >>> Luke Bakken > >>> Engineer > >>> lbak...@basho.com > >>> > >>> > >>> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa > >>> wrote: > >>> > I upgraded the Python library to the latest and is still failing... > I'm > >>> > unable to delete any objects at all. > >>> > > >>> > ~ # pip show riak > >>> > --- > >>> > Name: riak > >>> > Version: 2.4.2 > >>> > Location: /usr/local/lib/python2.7/dist-packages > >>> > Requires: six, pyOpenSSL, protobuf > >>> > > >>> > Everything else seems fine, just timeouts when deleting :( > >>> > > >>> > Thanks, > >>> > Alex > >>> > > >>> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa > >>> > > >>> > wrote: > >>> >> > >>> >> Hi there, > >>> >> > >>> >> I'm trying to delete objects from riak with the python library and > is > >>> >> timing out, any ideas? (this example is from a simple object, but > also > >>> >> have > >>> >> issues with bucket types with map objects, etc...)... Just I seem to > >>> >> unable > >>> >> to delete anything, just times out. > >>> >> > >>> >> >>> import riak > >>> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': > >>> >> >>> '', > >>> >> >>> 'http_port': 8098, 'pb_port': 8087}]) > >>> >> >>> x = RIAK.bucket('test').get('something') > >>> >> >>> print x.data > >>> >> {"something":"here"} > >>> >> >>> x.delete() > >>> >> Traceback (most recent call last): > >>> >> File "", line 1, in > >>> >> File "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", > >>> >> line > >>> >> 329, in delete > >>> >> timeout=timeout) > >>> >> File > >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >>> >> line 196, in wrapper > >>> >> return self._with_retries(pool, thunk) > >>> >> File > >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >>> >> line 138, in _with_retries > >>> >> return fn(transport) > >>> >> File > >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >>> >> line 194, in thunk > >>> >> return fn(self, transport, *args, **kwargs) > >>> >> File > >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", > >>> >> line 744, in delete > >>> >> pw=pw, timeout=timeout) > >>> >> File > >>> >> > >>> >> > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", > >>> >> line 283, in delete > >>> >> riak.pb.messages.MSG_CODE_DEL_RESP) > >>> >> File > >>> >> > >>> >> > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", > >>> >> line 34, in _request > >>> >> return self._recv_msg(expect) > >>> >> File > >>> >> > >>> >> > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", > >>> >> line 165, in _recv_msg > >>> >> raise RiakError(bytes_to_str(err.errmsg)) > >>> >> riak.riak_error.RiakError: 'timeout' > >>> >> > >>> >> My Riak version is 2.1.4 > >>> >> > >>> >> My Python library is (installed via pip): > >>> >> Name: ria
Re: Can't delete objects from Riak KV
Hi Alex, Thanks for running that. This proves that it is not a Python client issue. You can see the transcript of storing, fetching and deleting an object successfully here: https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda At this point, I suggest checking the error.log files on each Riak node for information. Or, if you run "riak-debug" on your cluster and provide the archives somewhere (private access), I could take a look. -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 14, 2016 at 6:57 AM, Alex De la rosa wrote: > Hi Luke, I tried and get this and didn't work: > > ~ # curl -4vvv -XDELETE http://xx.xx.xx.xx:8098/buckets/test/keys/something > * Hostname was NOT found in DNS cache > * Trying xx.xx.xx.xx... > * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) >> DELETE /buckets/test/keys/something HTTP/1.1 >> User-Agent: curl/7.35.0 >> Host: xx.xx.xx.xx:8098 >> Accept: */* >> > * Empty reply from server > * Connection #0 to host xx.xx.xx.xx left intact > curl: (52) Empty reply from server > > Thanks, > Alex > > On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa > wrote: >> >> I can try that, but I would like to do it via the python client itself... >> >> Thanks, >> Rohman >> >> On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken wrote: >>> >>> Hi Alex, >>> >>> Can you use the HTTP API to delete an object? Something like: >>> >>> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something >>> >>> -- >>> Luke Bakken >>> Engineer >>> lbak...@basho.com >>> >>> >>> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa >>> wrote: >>> > I upgraded the Python library to the latest and is still failing... I'm >>> > unable to delete any objects at all. >>> > >>> > ~ # pip show riak >>> > --- >>> > Name: riak >>> > Version: 2.4.2 >>> > Location: /usr/local/lib/python2.7/dist-packages >>> > Requires: six, pyOpenSSL, protobuf >>> > >>> > Everything else seems fine, just timeouts when deleting :( >>> > >>> > Thanks, >>> > Alex >>> > >>> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa >>> > >>> > wrote: >>> >> >>> >> Hi there, >>> >> >>> >> I'm trying to delete objects from riak with the python library and is >>> >> timing out, any ideas? (this example is from a simple object, but also >>> >> have >>> >> issues with bucket types with map objects, etc...)... Just I seem to >>> >> unable >>> >> to delete anything, just times out. >>> >> >>> >> >>> import riak >>> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': >>> >> >>> '', >>> >> >>> 'http_port': 8098, 'pb_port': 8087}]) >>> >> >>> x = RIAK.bucket('test').get('something') >>> >> >>> print x.data >>> >> {"something":"here"} >>> >> >>> x.delete() >>> >> Traceback (most recent call last): >>> >> File "", line 1, in >>> >> File "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", >>> >> line >>> >> 329, in delete >>> >> timeout=timeout) >>> >> File >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >>> >> line 196, in wrapper >>> >> return self._with_retries(pool, thunk) >>> >> File >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >>> >> line 138, in _with_retries >>> >> return fn(transport) >>> >> File >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >>> >> line 194, in thunk >>> >> return fn(self, transport, *args, **kwargs) >>> >> File >>> >> "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", >>> >> line 744, in delete >>> >> pw=pw, timeout=timeout) >>> >> File >>> >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", >>> >> line 283, in delete >>> >> riak.pb.messages.MSG_CODE_DEL_RESP) >>> >> File >>> >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >>> >> line 34, in _request >>> >> return self._recv_msg(expect) >>> >> File >>> >> >>> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >>> >> line 165, in _recv_msg >>> >> raise RiakError(bytes_to_str(err.errmsg)) >>> >> riak.riak_error.RiakError: 'timeout' >>> >> >>> >> My Riak version is 2.1.4 >>> >> >>> >> My Python library is (installed via pip): >>> >> Name: riak >>> >> Version: 2.2.0 >>> >> Location: /usr/local/lib/python2.7/dist-packages >>> >> Requires: six, pyOpenSSL, riak-pb >>> >> >>> >> Thanks, >>> >> Alex >>> > >>> > >>> > >>> > ___ >>> > 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
Re: Can't delete objects from Riak KV
Hi Luke, I tried and get this and didn't work: ~ # curl -4vvv -XDELETE http://xx.xx.xx.xx:8098/buckets/test/keys/something * Hostname was NOT found in DNS cache * Trying xx.xx.xx.xx... * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) > DELETE /buckets/test/keys/something HTTP/1.1 > User-Agent: curl/7.35.0 > Host: xx.xx.xx.xx:8098 > Accept: */* > * Empty reply from server * Connection #0 to host xx.xx.xx.xx left intact curl: (52) Empty reply from server Thanks, Alex On Thu, Apr 14, 2016 at 5:50 PM, Alex De la rosa wrote: > I can try that, but I would like to do it via the python client itself... > > Thanks, > Rohman > > On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken wrote: > >> Hi Alex, >> >> Can you use the HTTP API to delete an object? Something like: >> >> curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something >> >> -- >> Luke Bakken >> Engineer >> lbak...@basho.com >> >> >> On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa >> wrote: >> > I upgraded the Python library to the latest and is still failing... I'm >> > unable to delete any objects at all. >> > >> > ~ # pip show riak >> > --- >> > Name: riak >> > Version: 2.4.2 >> > Location: /usr/local/lib/python2.7/dist-packages >> > Requires: six, pyOpenSSL, protobuf >> > >> > Everything else seems fine, just timeouts when deleting :( >> > >> > Thanks, >> > Alex >> > >> > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa < >> alex.rosa@gmail.com> >> > wrote: >> >> >> >> Hi there, >> >> >> >> I'm trying to delete objects from riak with the python library and is >> >> timing out, any ideas? (this example is from a simple object, but also >> have >> >> issues with bucket types with map objects, etc...)... Just I seem to >> unable >> >> to delete anything, just times out. >> >> >> >> >>> import riak >> >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': >> '', >> >> >>> 'http_port': 8098, 'pb_port': 8087}]) >> >> >>> x = RIAK.bucket('test').get('something') >> >> >>> print x.data >> >> {"something":"here"} >> >> >>> x.delete() >> >> Traceback (most recent call last): >> >> File "", line 1, in >> >> File "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", >> line >> >> 329, in delete >> >> timeout=timeout) >> >> File >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >> line 196, in wrapper >> >> return self._with_retries(pool, thunk) >> >> File >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >> line 138, in _with_retries >> >> return fn(transport) >> >> File >> "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> >> line 194, in thunk >> >> return fn(self, transport, *args, **kwargs) >> >> File >> "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", >> >> line 744, in delete >> >> pw=pw, timeout=timeout) >> >> File >> >> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", >> >> line 283, in delete >> >> riak.pb.messages.MSG_CODE_DEL_RESP) >> >> File >> >> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >> >> line 34, in _request >> >> return self._recv_msg(expect) >> >> File >> >> >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >> >> line 165, in _recv_msg >> >> raise RiakError(bytes_to_str(err.errmsg)) >> >> riak.riak_error.RiakError: 'timeout' >> >> >> >> My Riak version is 2.1.4 >> >> >> >> My Python library is (installed via pip): >> >> Name: riak >> >> Version: 2.2.0 >> >> Location: /usr/local/lib/python2.7/dist-packages >> >> Requires: six, pyOpenSSL, riak-pb >> >> >> >> Thanks, >> >> Alex >> > >> > >> > >> > ___ >> > 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
Re: Can't delete objects from Riak KV
Hi Alex, Can you use the HTTP API to delete an object? Something like: curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa wrote: > I upgraded the Python library to the latest and is still failing... I'm > unable to delete any objects at all. > > ~ # pip show riak > --- > Name: riak > Version: 2.4.2 > Location: /usr/local/lib/python2.7/dist-packages > Requires: six, pyOpenSSL, protobuf > > Everything else seems fine, just timeouts when deleting :( > > Thanks, > Alex > > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa > wrote: >> >> Hi there, >> >> I'm trying to delete objects from riak with the python library and is >> timing out, any ideas? (this example is from a simple object, but also have >> issues with bucket types with map objects, etc...)... Just I seem to unable >> to delete anything, just times out. >> >> >>> import riak >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': '', >> >>> 'http_port': 8098, 'pb_port': 8087}]) >> >>> x = RIAK.bucket('test').get('something') >> >>> print x.data >> {"something":"here"} >> >>> x.delete() >> Traceback (most recent call last): >> File "", line 1, in >> File "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", line >> 329, in delete >> timeout=timeout) >> File "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> line 196, in wrapper >> return self._with_retries(pool, thunk) >> File "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> line 138, in _with_retries >> return fn(transport) >> File "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", >> line 194, in thunk >> return fn(self, transport, *args, **kwargs) >> File "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", >> line 744, in delete >> pw=pw, timeout=timeout) >> File >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", >> line 283, in delete >> riak.pb.messages.MSG_CODE_DEL_RESP) >> File >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >> line 34, in _request >> return self._recv_msg(expect) >> File >> "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", >> line 165, in _recv_msg >> raise RiakError(bytes_to_str(err.errmsg)) >> riak.riak_error.RiakError: 'timeout' >> >> My Riak version is 2.1.4 >> >> My Python library is (installed via pip): >> Name: riak >> Version: 2.2.0 >> Location: /usr/local/lib/python2.7/dist-packages >> Requires: six, pyOpenSSL, riak-pb >> >> Thanks, >> Alex > > > > ___ > 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
Re: Can't delete objects from Riak KV
I can try that, but I would like to do it via the python client itself... Thanks, Rohman On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken wrote: > Hi Alex, > > Can you use the HTTP API to delete an object? Something like: > > curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something > > -- > Luke Bakken > Engineer > lbak...@basho.com > > > On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa > wrote: > > I upgraded the Python library to the latest and is still failing... I'm > > unable to delete any objects at all. > > > > ~ # pip show riak > > --- > > Name: riak > > Version: 2.4.2 > > Location: /usr/local/lib/python2.7/dist-packages > > Requires: six, pyOpenSSL, protobuf > > > > Everything else seems fine, just timeouts when deleting :( > > > > Thanks, > > Alex > > > > On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa < > alex.rosa@gmail.com> > > wrote: > >> > >> Hi there, > >> > >> I'm trying to delete objects from riak with the python library and is > >> timing out, any ideas? (this example is from a simple object, but also > have > >> issues with bucket types with map objects, etc...)... Just I seem to > unable > >> to delete anything, just times out. > >> > >> >>> import riak > >> >>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = [{'host': > '', > >> >>> 'http_port': 8098, 'pb_port': 8087}]) > >> >>> x = RIAK.bucket('test').get('something') > >> >>> print x.data > >> {"something":"here"} > >> >>> x.delete() > >> Traceback (most recent call last): > >> File "", line 1, in > >> File "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", > line > >> 329, in delete > >> timeout=timeout) > >> File > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >> line 196, in wrapper > >> return self._with_retries(pool, thunk) > >> File > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >> line 138, in _with_retries > >> return fn(transport) > >> File > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", > >> line 194, in thunk > >> return fn(self, transport, *args, **kwargs) > >> File > "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", > >> line 744, in delete > >> pw=pw, timeout=timeout) > >> File > >> > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", > >> line 283, in delete > >> riak.pb.messages.MSG_CODE_DEL_RESP) > >> File > >> > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", > >> line 34, in _request > >> return self._recv_msg(expect) > >> File > >> > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", > >> line 165, in _recv_msg > >> raise RiakError(bytes_to_str(err.errmsg)) > >> riak.riak_error.RiakError: 'timeout' > >> > >> My Riak version is 2.1.4 > >> > >> My Python library is (installed via pip): > >> Name: riak > >> Version: 2.2.0 > >> Location: /usr/local/lib/python2.7/dist-packages > >> Requires: six, pyOpenSSL, riak-pb > >> > >> Thanks, > >> Alex > > > > > > > > ___ > > 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
Riak KV vs Riak TS
Hi there, I had been building a project for a while (i got stuck with work and kinda got delayed for a year until now that i could resume it) and I was planning to use the following setup (the project is a social network... so imagine something like Facebook) - Riak CS: Video storage and streaming - Riak KV: Everything else... Users, Profiles, Photos, Statuses, Likes, Counters, etc... For what I've seen now, Riak CS is gone; I guess it was replaced by Riak S2... and now there is the new Riak TS. Now I wonder if Riak TS could be good for my project and what use case I could really give it (maybe user's status updates?) However, in this situation I could think of: - Riak S2: Video storage and streaming (photo storage too) - Riak TS: Statuses, Updates, News, etc... - Riak KV: Users, Profiles, Settings Is this something to think of going forward? Also... would I require a cluster of at least 5 servers for each Riak variant?? That would require a minimum of 15 servers just to start!... a bit too much. Can somebody enlighten me a little on this new Riak TS? Also, is not yet available to download/test? Thanks, Alex ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Re: Can't delete objects from Riak KV
I upgraded the Python library to the latest and is still failing... I'm unable to delete any objects at all. ~ # pip show riak --- Name: riak Version: 2.4.2 Location: /usr/local/lib/python2.7/dist-packages Requires: six, pyOpenSSL, protobuf Everything else seems fine, just timeouts when deleting :( Thanks, Alex On Thu, Apr 14, 2016 at 8:53 AM, Alex De la rosa wrote: > Hi there, > > I'm trying to delete objects from riak with the python library and is > timing out, any ideas? (this example is from a simple object, but also have > issues with bucket types with map objects, etc...)... Just I seem to unable > to delete anything, just times out. > > > > > > > > > > > > > > > > > > > > > > > > > > *>>> import riak>>> RIAK = riak.RiakClient(protocol = 'pbc', nodes = > [{'host': '', 'http_port': 8098, 'pb_port': 8087}])>>> x = > RIAK.bucket('test').get('something')>>> print x.data{"something":"here"}>>> > x.delete()Traceback (most recent call last): File "", line 1, in > File > "/usr/local/lib/python2.7/dist-packages/riak/riak_object.py", line 329, in > deletetimeout=timeout) File > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", line > 196, in wrapperreturn self._with_retries(pool, thunk) File > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", line > 138, in _with_retriesreturn fn(transport) File > "/usr/local/lib/python2.7/dist-packages/riak/client/transport.py", line > 194, in thunkreturn fn(self, transport, *args, **kwargs) File > "/usr/local/lib/python2.7/dist-packages/riak/client/operations.py", line > 744, in deletepw=pw, timeout=timeout) File > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/transport.py", > line 283, in deleteriak.pb.messages.MSG_CODE_DEL_RESP) File > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", > line 34, in _requestreturn self._recv_msg(expect) File > "/usr/local/lib/python2.7/dist-packages/riak/transports/pbc/connection.py", > line 165, in _recv_msgraise > RiakError(bytes_to_str(err.errmsg))riak.riak_error.RiakError: 'timeout'* > > My Riak version is 2.1.4 > > My Python library is (installed via pip): > Name: riak > Version: 2.2.0 > Location: /usr/local/lib/python2.7/dist-packages > Requires: six, pyOpenSSL, riak-pb > > Thanks, > Alex > ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com