Re: Wants/Choose claim functions

2019-02-19 Thread Luke Bakken
Hi Guido, Searching google for "riak wants_claim_fun" turns up this document. Please see the section "Q: A node left the cluster before handing off all data. How can I resolve this?" https://docs.basho.com/riak/kv/2.2.3/developing/faq/ This may be helpful as well -

A new home for basho/cuttlefish

2017-09-27 Thread Luke Bakken
llowing would be nice: > > a) Upgrade to rebar3 > b) Upgrade Erlang version support so it compiles under Erlang 20 (if it > doesn’t already) > c) Package uploaded to hex.pm > > Bryan > > >> On 27 Sep 2017, at 18:59, Luke Bakken <l...@bakken.io> wrote: >> >

[no subject]

2017-09-27 Thread Luke Bakken
) Once transferred, GitHub will take care of all the necessary redirections from the Basho organization to cuttlefish's new home. Thanks, Luke Bakken [0] - https://github.com/rabbitmq/cuttlefish -- Staff Software Engineer Pivotal / RabbitMQ ___ riak

Re: User creation not possible Riak CS

2017-05-03 Thread Luke Bakken
Hi Henry, Please use "Reply All" so that your responses are sent to the list. At this point, I recommend looking through the console.log and error.log files for Riak CS and Riak to see if anything looks obvious as to the source of the error. -- Luke Bakken Engineer lbak...@basho.c

Re: Riak 2.1.4 crashes with Out of Memory Error

2017-05-03 Thread Luke Bakken
Hi Jerald - What is the average size of an object that you are storing in Riak? I'm also seeing a lot of errors in the logs related to AAE, like you note. I know there have been fixes in that part of Riak since 2.1.4 and recommend upgrading. -- Luke Bakken Engineer lbak...@basho.com On Tue

Re: User creation not possible Riak CS

2017-05-02 Thread Luke Bakken
In addition, the correct field name should be "email", not name. http://docs.basho.com/riak/cs/2.1.1/cookbooks/configuration/riak-cs/#specifying-the-admin-user On Tue, May 2, 2017 at 6:01 AM, Luke Bakken <lbak...@basho.com> wrote: > Hi Henry, > > In the JSON you pro

Re: User creation not possible Riak CS

2017-05-02 Thread Luke Bakken
Hi Henry, In the JSON you provided, "name" is followed by a semicolon. Is this a typo? If not, that could be the cause of the error. -- Luke Bakken Engineer lbak...@basho.com On Mon, May 1, 2017 at 10:26 AM, Henry- Norbert Cocos <co...@stud.fra-uas.de> wrote: > Hello, >

Re: ClusterOffline Unable to access functioning Riak node

2017-04-17 Thread Luke Bakken
Thanks for letting us know the outcome. -- Luke Bakken Engineer lbak...@basho.com On Fri, Apr 14, 2017 at 12:49 PM, Charles Solar <charlesso...@gmail.com> wrote: > Thanks for the tip Luke - I updated those timeouts to 30s each and not > seeing anymore failures. I guess ideally up

Re: ClusterOffline Unable to access functioning Riak node

2017-04-14 Thread Luke Bakken
seconds is exceeded, the socket read times out and the client assumes that there is an issue with the node, marking it down. Eventually, all nodes can be marked down. -- Luke Bakken Engineer lbak...@basho.com On Wed, Apr 12, 2017 at 11:03 AM, Charles Solar <charlesso...@gmail.com> wrote

Re: API question about conflict resolution and getValue(s)

2017-04-06 Thread Luke Bakken
; modify -> store", work? Yes. Please refer to the docs here: https://docs.basho.com/riak/kv/2.2.3/developing/usage/conflict-resolution/java/#conflict-resolution-and-writes Thanks - -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 6, 2017 at 4:48 AM, ジョハンガル <gall.jo...@linecorp.

Re: Does RiakKV require a lot of memory?

2017-03-27 Thread Luke Bakken
Hi Tsutomu, You should only use objects up to a maximum of 1MiB in size with Riak KV. If you wish to store larger objects or files, please use Riak CS. -- Luke Bakken Engineer lbak...@basho.com On Sun, Mar 26, 2017 at 5:38 PM, <wakuda_tsut...@intec.co.jp> wrote: > Hello. > >

Re: Object not found after successful PUT on S3 API

2017-03-10 Thread Luke Bakken
. -- Luke Bakken Engineer lbak...@basho.com On Fri, Mar 10, 2017 at 9:08 AM, Alexander Sicular <sicul...@basho.com> wrote: > > Hi Daniel, > > Riak CS uses multi by default. By default the manifests are stored in leveldb > and the blobs/chunks are stored in bitcask. If yo

Fwd: Object not found after successful PUT on S3 API

2017-03-08 Thread Luke Bakken
e best path forward is to set up an entirely new cluster and re-save your data there through the API. As I mentioned in my last email, there is no guarantee your current data isn't corrupted somehow. -- Luke Bakken Engineer lbak...@basho.com ___ riak-users m

Re: Object not found after successful PUT on S3 API

2017-03-07 Thread Luke Bakken
a. My guess is that on very rare occasions your data happens to overwrite the manifest for a file. You may also have corrupted files at this point without noticing it at all. *IMPORTANT:* you can't switch from your current configuration to this new one without re-saving all of your data. -- Lu

Re: Object not found after successful PUT on S3 API

2017-03-06 Thread Luke Bakken
response. Please note that the period is significant. Use CTRL-C CTRL-C to exit the "riak attach" session. -- Luke Bakken Engineer lbak...@basho.com On Mon, Mar 6, 2017 at 11:29 AM, Daniel Miller <dmil...@dimagi.com> wrote: > Hi Luke, > > I do not have an advanced.con

Re: Object not found after successful PUT on S3 API

2017-03-06 Thread Luke Bakken
e. Thanks -- Luke Bakken Engineer lbak...@basho.com On Mon, Mar 6, 2017 at 7:07 AM, Daniel Miller <dmil...@dimagi.com> wrote: > I recently had another case of a disappearing object. This time the object > was successfully PUT, and (unlike the previous cases reported in this > thread)

Re: Issue with yokozuna_extractor_map (riak 2.1.1)

2017-02-28 Thread Luke Bakken
ches" directory, and re-start Riak. Then your extractor code will be found. -- Luke Bakken Engineer lbak...@basho.com On Tue, Feb 28, 2017 at 3:54 AM, Simon Jaspar <simon.jas...@kbrwadventure.com> wrote: > Hi, > > I’m currently experimenting with riak 2.1.1 for a project. I

Re: Update metadata of entries in bucket

2017-02-24 Thread Luke Bakken
Hi Grigory, Check out this article: http://basho.com/posts/technical/webinar-recap-mapreduce-querying-in-riak/ Specifically, the use of riak:local_client() and C:put -- Luke Bakken Engineer lbak...@basho.com On Thu, Feb 23, 2017 at 10:38 AM, Grigory Fateyev <gfb...@gmail.com> wrote: &

Re: Object not found after successful PUT on S3 API

2017-02-09 Thread Luke Bakken
Hi Daniel - I don't have any ideas at this point. Has this scenario happened again? -- Luke Bakken Engineer lbak...@basho.com On Wed, Jan 25, 2017 at 2:11 PM, Daniel Miller <dmil...@dimagi.com> wrote: > Thanks for the quick response, Luke. > > There is nothing unusual

Re: Cross-Compile Riak for Embedded Device

2017-02-09 Thread Luke Bakken
Hi Darshan, Riak's memory requirements don't lend it to use on embedded devices. Which device are you targeting? -- Luke Bakken Engineer lbak...@basho.com On Wed, Feb 8, 2017 at 5:49 AM, Darshan Shah <dg.shah1...@gmail.com> wrote: > Hi, > > I am new to Riak and I would lik

Re: riak-cs fails to start after reimporting Docker container

2017-02-09 Thread Luke Bakken
Hi Jean-Marc - Can you provide a complete archive of the log directory? I wonder if another file might have more information. -- Luke Bakken Engineer lbak...@basho.com On Thu, Feb 9, 2017 at 1:58 AM, Jean-Marc Le Roux <jeanmarc.ler...@aerys.in> wrote: > > Hello, > > here is t

Re: Periodically solr down issue.

2017-02-04 Thread Luke Bakken
Hi Alex - What is in solr.log ? -- Luke Bakken Engineer lbak...@basho.com On Sat, Feb 4, 2017 at 3:37 AM, Alex Feng <sweden.f...@gmail.com> wrote: > Hello Riak users, > > I recently found our solr system got down after running some time, it got > recovered after a restart. Bu

Re: Reg:Continuous Periodic crashes after long operation

2017-02-01 Thread Luke Bakken
Thanks for the information. Yes, one RiakClient instance per Unix process is correct. I will see if there is a way for you to keep track of connections from the client to Riak. Off the top of my head the Python client doesn't have the ability to set limits. -- Luke Bakken Engineer lbak

Re: Reg:Continuous Periodic crashes after long operation

2017-02-01 Thread Luke Bakken
Hi Steven, At this point I suspect you're using the Python client in such a way that too many connections are being created. Are you re-using the RiakClient object or repeatedly creating new ones? Can you provide any code that reproduces your issue? -- Luke Bakken Engineer lbak...@basho.com

Re: Reg:Continuous Periodic crashes after long operation

2017-01-31 Thread Luke Bakken
Hi Steven, What is the output of this command on your systems? $ sysctl fs.file-max Mine is: fs.file-max = 1620211 -- Luke Bakken Engineer lbak...@basho.com On Tue, Jan 31, 2017 at 12:22 PM, Steven Joseph <ste...@streethawk.com> wrote: > Hi Shaun, > > Im having this issue aga

Re: Reg:Continuous Periodic crashes after long operation

2017-01-26 Thread Luke Bakken
/emqtt/emqttd/wiki/linux-kernel-tuning Basho also has a set of recommended tuning parameters: http://docs.basho.com/riak/kv/2.2.0/using/performance/ Do you have other error entries in any of Riak's logs at around the same time as these messages? Particularly crash.log. -- Luke Bakken Engineer lbak

Re: Object not found after successful PUT on S3 API

2017-01-25 Thread Luke Bakken
Hi Daniel - This is a strange scenario. I recommend looking at all of the log files for "[error]" or other entries at about the same time as these PUTs or 404 responses. Is there anything unusual about the key being used? -- Luke Bakken Engineer lbak...@basho.com On Wed, Jan 25, 20

Re: Riak CS race condition at start-up (was: Riak-CS issues when Riak endpoint fails-over to new server)

2017-01-20 Thread Luke Bakken
Hi Toby, The process you use to run "riak-cs start" could use the "riak-admin wait-for-service riak_kv" command to ensure Riak is ready first: http://docs.basho.com/riak/kv/2.2.0/using/admin/riak-admin/#wait-for-service -- Luke Bakken Engineer lbak...@basho.com On Thu, Jan

Re: Active Anti Entropy Directory when AAE is disabled

2017-01-18 Thread Luke Bakken
Hi Arun - I don't know the answer off the top of my head, but I suspect that disabling AAE will leave that directory and the files in it untouched afterward. One way to find out would be to disable AAE and monitor the access time of the files in the anti_entropy directory. -- Luke Bakken

Re: Deleted bucket key but still showing up in yokozuna search results

2017-01-18 Thread Luke Bakken
Hi Pulin, Did this document eventually disappear from search results? You should check your Riak logs and solr.log files for errors with regard to communication between Riak and the Solr process. -- Luke Bakken Engineer lbak...@basho.com On Fri, Dec 16, 2016 at 12:10 PM, Pulin Gupta <puli

Re: consult some questions about riak,thank you

2017-01-17 Thread Luke Bakken
std::bad_alloc is thrown when memory can't be allocated. This can happen when there is no more free RAM. Do you have monitoring enabled on these servers where you can watch memory consumption? -- Luke Bakken Engineer lbak...@basho.com On Fri, Jan 13, 2017 at 8:21 AM, 270917674 <270917...@qq.

Re: Riak CS - admin keys changing

2017-01-12 Thread Luke Bakken
Hi Toby, When you create the user, the data is stored in Riak (and is the authoritative location). The values must match in the config files to provide credentials used when connecting to various parts of your CS cluster. -- Luke Bakken Engineer lbak...@basho.com On Thu, Jan 12, 2017 at 3:47 PM

Re: Java client -- slow to shutdown

2016-11-28 Thread Luke Bakken
Hi Toby - Thanks for reporting this. We can continue the discussion via GH issue #689. -- Luke Bakken Engineer lbak...@basho.com On Wed, Nov 23, 2016 at 9:58 PM, Toby Corkindale <t...@dryft.net> wrote: > Hi, > I'm using the Java client via protocol buffers to Riak. > (Actually I

Re: rpberrorresp - Unable to access functioning riak node

2016-11-23 Thread Luke Bakken
nt version * Riak TS version * Table definition you're using * Example data * Example C# code to reproduce the issue (if possible) Thanks - -- Luke Bakken Engineer lbak...@basho.com On Wed, Nov 23, 2016 at 7:39 AM, Andre Roman <andre.ro...@energymetricsllc.com> wrote: > Hey Luke, > > I w

Re: rpberrorresp - Unable to access functioning riak node

2016-11-23 Thread Luke Bakken
Hi Andre, If you remove the load balancer, does it work? -- Luke Bakken Engineer lbak...@basho.com On Tue, Nov 22, 2016 at 10:56 AM, A R <roman.an...@outlook.com> wrote: > To whom it may concern, > > > I've set up a 2 riak ts nodes and a load-balancer on independent ma

Re: Initializing a commit hook

2016-11-19 Thread Luke Bakken
Hi Mav, I opened the following issue to continue investigation: https://github.com/basho/riak_kv/issues/1541 That would be the best place to continue discussion. I'll find time to reproduce what you have reported. Thanks - -- Luke Bakken Engineer lbak...@basho.com On Fri, Nov 18, 2016 at 4

Re: Initializing a commit hook

2016-11-18 Thread Luke Bakken
Thanks for correcting that. Everything looks set up correctly. How are you saving objects? If you're using HTTP, what is the URL? Can you associate your precommit hook with a bucket type ("test-bucket-type" below) that is *not* set up for the "map" data type and see if your hook is called

Re: Initializing a commit hook

2016-11-18 Thread Luke Bakken
for buckets without a type, but wont be called for buckets with a type > > > On 18 November 2016 at 16:45, Luke Bakken <lbak...@basho.com> wrote: >> >> Mav - >> >> You're not using the correct HTTP URL. You can use this command: >> >> >

Re: Initializing a commit hook

2016-11-18 Thread Luke Bakken
ot;:[{"mod":"myhooks","fun":"precommit_hook"}]}}' Please ensure that the "myhooks" beam file is on all Riak servers in a directory that will be picked up by Riak when it starts: http://docs.basho.com/riak/kv/2.1.4/using/reference/custom-code/ -- L

Re: Initializing a commit hook

2016-11-18 Thread Luke Bakken
Mav - Please remember to use "Reply All" so that the riak-users list can learn from what you find out. Thanks. Thebucket = riak_object:bucket(Object), Can you check to see if "Thebucket" is really a two-tuple of "{BucketType, Bucket}"? I believe that is wha

Re: Initializing a commit hook

2016-11-18 Thread Luke Bakken
Mav - Can you go into more detail? The subject of your message is "initializing a commit hook". -- Luke Bakken Engineer lbak...@basho.com On Thu, Nov 17, 2016 at 9:09 AM, Mav erick <mav4...@gmail.com> wrote: > Folks > > Is there way RIAK can call an erlang function in

Re: Calling erlang shell from the command line

2016-11-14 Thread Luke Bakken
Hi Arun - When you install Riak it installs the Erlang VM to a well-known location, like /usr/lib/riak/erts-5.9.1 You can use /usr/lib/riak/erts-5.9.1/bin/erlc and know that it is the same Erlang that Riak is using. -- Luke Bakken Engineer lbak...@basho.com On Mon, Nov 14, 2016 at 11:20 AM

Re: Riak-CS False 503 Service Unavailable Error on Client

2016-11-14 Thread Luke Bakken
m 1 client only? -- Luke Bakken Engineer lbak...@basho.com On Tue, Nov 1, 2016 at 7:51 AM, Valenti, Anthony <anthony.vale...@inmar.com> wrote: > We are having a lot of 503 Service Unvailable errors for 1 particular > application client(s) when connecting to Riak-CS. Everything looks

Re: Increasing listen() backlog on riak's HTTP api

2016-10-27 Thread Luke Bakken
? -- Luke Bakken Engineer lbak...@basho.com On Wed, Oct 19, 2016 at 10:20 PM, Rohit Sanbhadti <sanbhadtiro...@vmware.com> wrote: > Hi all, > > I’ve been trying to increase the backlog that riak uses when opening a > listening socket with HTTP, as I’ve seen a fair number o

Re: enotconn error

2016-10-12 Thread Luke Bakken
be very high server load causing timeouts. -- Luke Bakken Engineer lbak...@basho.com On Wed, Sep 14, 2016 at 7:23 AM, Travis Kirstine <tkirst...@firstbasesolutions.com> wrote: > Hi all, > > > > I’m using haproxy with a riak 2.1.4 in a 5 node cluster. I’m getting fairly > co

Re: Erlang client map reduce?

2016-10-12 Thread Luke Bakken
something that will frequently be run or could the output of the query be saved in Riak on a daily basis, for instance? -- Luke Bakken Engineer lbak...@basho.com On Thu, Sep 29, 2016 at 5:57 PM, Brandon Martin <zmbmar...@gmail.com> wrote: > So I am trying to figure out how to do a map reduce on

Re: High number of Riak buckets

2016-09-30 Thread Luke Bakken
Hi Vikram, If all of your buckets use the same bucket type with your custom n_val, there won't be a performance issue. Just be sure to set n_val on the bucket type, and that all buckets are part of that bucket type. http://docs.basho.com/riak/kv/2.1.4/developing/usage/bucket-types/ -- Luke

Re: a weird error while post request to server for store object

2016-09-07 Thread Luke Bakken
Hello Alan - Which PHP client library are you using? -- Luke Bakken Engineer lbak...@basho.com On Tue, Sep 6, 2016 at 10:29 PM, HQS^∞^ <hqs...@qq.com> wrote: > dear everyone: > I follow the tutorial at > http://docs.basho.com/riak/kv/2.1.4/developing/usage/document-st

Re: Need help with Riak-KV (2.1.4) certificate based authentication using Java client

2016-08-31 Thread Luke Bakken
-client-tools/tree/master/test-ca) -- Luke Bakken Engineer lbak...@basho.com On Wed, Aug 31, 2016 at 3:11 PM, Nguyen, Kyle <kyle.ngu...@philips.com> wrote: > Hi Luke, > > I am getting the following information: > > Verify return code: 19 (self signed certificate

Re: Using Riak CS with Hadoop

2016-08-31 Thread Luke Bakken
Riak CS provides an S3 capable API, so theoretically it could work. Have you tried? If so and you're having issues, follow up here. -- Luke Bakken Engineer lbak...@basho.com On Wed, Aug 31, 2016 at 7:38 AM, Valenti, Anthony <anthony.vale...@inmar.com> wrote: > Has anyone setup Hadoop t

Re: Need help with Riak-KV (2.1.4) certificate based authentication using Java client

2016-08-30 Thread Luke Bakken
This command will show the handshake used for HTTPS. It will show if the server's certificate (the same one used for TLS) can be validated. Using "openssl s_client" is a good way to start diagnosing what's actually happening when SSL/TLS is enabled in Riak. -- Luke Bakken Eng

Re: Need help with Riak-KV (2.1.4) certificate based authentication using Java client

2016-08-30 Thread Luke Bakken
Kyle, I would be interested to see the output of this command run on the same server as your Riak node: openssl s_client -debug -connect localhost:8098 Please replace "8098" with the HTTPS port used in this configuration setting in your /etc/riak.conf file: listener.https.interna

Re: riak bitcask calculation

2016-07-21 Thread Luke Bakken
Hi Travis, The memory used by Riak (beam.smp) is for more than key storage, of course. You can assume that in your case RES will get to about the same amount after a reboot, given a similar workload in Riak. -- Luke Bakken Engineer lbak...@basho.com On Mon, Jul 18, 2016 at 8:54 AM, Travis

Riak Python Client 2.5.5 released

2016-07-18 Thread Luke Bakken
t/issues?q=milestone%3Ariak-python-client-2.5.5 -- Luke Bakken Engineer lbak...@basho.com ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: riak bitcask calculation

2016-07-18 Thread Luke Bakken
and buffers. Is there a reason you're concerned about this usage? -- Luke Bakken Engineer lbak...@basho.com On Mon, Jul 18, 2016 at 8:28 AM, Travis Kirstine <tkirst...@firstbasesolutions.com> wrote: > Yes from the free command > > [root@riak1 ~]# free -g > total

Re: riak bitcask calculation

2016-07-18 Thread Luke Bakken
ecommended way to proceed. Thanks - -- Luke Bakken Engineer lbak...@basho.com On Fri, Jul 15, 2016 at 8:48 AM, Travis Kirstine <tkirst...@firstbasesolutions.com> wrote: > I've put ~74 million objects in my riak cluster with a bucket size of 9 > bytes and keys size of 21 bytes. Accor

Re: Create Bucket failed

2016-07-18 Thread Luke Bakken
on every node. -- Luke Bakken Engineer lbak...@basho.com On Mon, Jul 18, 2016 at 8:00 AM, Salman Khaleghian <khalegh...@dvtal.com> wrote: > We have 3 servers. One of them failed. And we set it as down server. As I > know and think it is should not be problem. So i did not mention it

Re: Create Bucket failed

2016-07-18 Thread Luke Bakken
Salman - Please use "reply all" to include the mailing list in the discussion. This is the first time you have mentioned a "failed server". Can you go into more detail? How many servers are in this cluster? -- Luke Bakken Engineer lbak...@basho.com On Mon, Jul 18, 201

Re: Create Bucket failed

2016-07-14 Thread Luke Bakken
Salman - Can you provide more detailed debugging logs from s3cmd or some way to reproduce this? -- Luke Bakken Engineer lbak...@basho.com On Wed, Jul 13, 2016 at 3:34 AM, Salman Khaleghian <khalegh...@dvtal.com> wrote: > Hello > I use cloudberry and s3cmd both. Both of them s

Re: java client: overload leads to BlockingOperationException

2016-07-14 Thread Luke Bakken
simulate your workload, tweak settings, and benchmark. -- Luke Bakken Engineer lbak...@basho.com On Wed, Jul 13, 2016 at 7:03 AM, Henning Verbeek <hankipa...@gmail.com> wrote: > I'm still struggling with a BlockingOperationException thrown by > riak-java-client 2.0.6, which occurs when I

Re: Riak on Solaris/OmniOS/illumos

2016-07-12 Thread Luke Bakken
a try. If you have difficulty or find issues, file them on GitHub, or better yet, send in a PR. Thanks -- Luke Bakken Engineer lbak...@basho.com On Mon, Jun 13, 2016 at 5:30 AM, Henrik Johansson <henr...@henkis.net> wrote: > Hi, > > I've recently been told that Riak will no long

Re: Riak Java client question

2016-07-12 Thread Luke Bakken
Hi Guido, I see that you opened up this PR, thanks - https://github.com/basho/riak-java-client/pull/631 Would you mind filing these questions in an issue on GitHub to continue the discussion there? https://github.com/basho/riak-java-client/issues/new Thanks! -- Luke Bakken Engineer lbak

Riak Erlang Client 2.4.0 released

2016-07-08 Thread Luke Bakken
-client/issues?q=milestone%3Ariak-erlang-client-2.4.0 Thanks - -- Luke Bakken Engineer lbak...@basho.com ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Riak Node.js client 2.2.1 released

2016-07-06 Thread Luke Bakken
/riak-nodejs-client/milestone/11?closed=1 https://github.com/basho/riak-nodejs-client/releases/tag/v2.2.1 https://www.npmjs.com/package/basho-riak-client Thanks! -- Luke Bakken Engineer lbak...@basho.com ___ riak-users mailing list riak-users

Re: Creating riak-kv bucket type programmatically

2016-07-05 Thread Luke Bakken
Hi Kyle, There is no support for this at the moment, but keep an eye on this issue and "vote" for it if you like. https://github.com/basho/riak_kv/issues/1123 -- Luke Bakken Engineer lbak...@basho.com On Tue, Jul 5, 2016 at 11:15 AM, Nguyen, Kyle <kyle.ngu...@philips.com>

Re: Memory backend doesn't work (with multi backend)?

2016-06-23 Thread Luke Bakken
e. You may have to remove the content's of Riak's data and ring directories to overwrite your old settings. I have filed an issue in GitHub to improve the documentation for multi-backend: https://github.com/basho/basho_docs/issues/2123 -- Luke Bakken Engineer lbak...@basho.com On Wed, Jun

Riak Node.js client 2.2.0 released

2016-06-17 Thread Luke Bakken
://github.com/basho/riak-nodejs-client/releases/tag/v2.4.0 https://www.npmjs.com/package/basho-riak-client Thanks! -- Luke Bakken Engineer lbak...@basho.com ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo

Re: bitcask merges & deletions

2016-06-15 Thread Luke Bakken
Hi Johnny, Since this seems to happen regularly on one node on your cluster (not necessarily the same node), do you have a repetitive process that performs a *lot* of updates or deletes on a single key that could be correlated to these merges? -- Luke Bakken Engineer lbak...@basho.com On Wed

Ruby 2.4.0 client released (Was: Python 2.5.3 client released)

2016-06-15 Thread Luke Bakken
For those keeping track, I sent the following email with the wrong subject. Have a great day - On Wed, Jun 15, 2016 at 8:44 AM, Luke Bakken <lbak...@basho.com> wrote: > Hello everyone, > > Version 2.4.0 of the Ruby client was released today. This release > contains var

Re: Python 2.5.3 client released

2016-06-15 Thread Luke Bakken
don't hesitate to file an issue in GitHub if you have questions about using the client or find a bug. -- Luke Bakken Engineer lbak...@basho.com ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak

Re: Updating Riak values in batch

2016-06-14 Thread Luke Bakken
following our examples, feel free to share what you've done via a gist and we can continue to help out. -- Luke Bakken Engineer lbak...@basho.com On Tue, Jun 14, 2016 at 10:51 AM, Ricardo Mayerhofer <ricardo@gmail.com> wrote: > Hi Luke, > Thanks for your reply! Can I use map/reduce operati

Re: get and put operations are slow on Riak KV cluster

2016-06-14 Thread Luke Bakken
Hello Abhinav, Have you followed all of our suggested tuning in this document? http://docs.basho.com/riak/kv/2.1.4/using/performance/ Specifically, these settings may help a lot in your environment: http://docs.basho.com/riak/kv/2.1.4/using/performance/#optional-i-o-settings -- Luke Bakken

Re: Updating Riak values in batch

2016-06-14 Thread Luke Bakken
Hi Ricardo, If you know your keys in advance, you can fetch the keys in parallel, update them, and write them back to Riak in parallel. Other options include map/reduce jobs that iterate over all the keys, but keep in mind that any key listing operation will be resource intensive. -- Luke Bakken

Re: Put failure: too many siblings

2016-06-03 Thread Luke Bakken
as well: http://docs.basho.com/riak/kv/2.1.4/using/admin/riak-admin/#transfer-limit -- Luke Bakken Engineer lbak...@basho.com On Fri, Jun 3, 2016 at 2:55 AM, Vladyslav Zakhozhai <v.zakhoz...@smartweb.com.ua> wrote: > Hi. > > I have a trouble with PUT to Riak CS cluster. During

Re: using riak to store user sessions

2016-06-02 Thread Luke Bakken
for that session store as a starting point would be your best bet. https://github.com/balor/connect-memcached You would then use the Riak Node.js client to fetch and store data: https://github.com/basho/riak-nodejs-client -- Luke Bakken Engineer lbak...@basho.com On Thu, Jun 2, 2016 at 6:19 AM

Re: Changing ring size on 1.4 cluster

2016-06-01 Thread Luke Bakken
Alex, While a command does exist to resize the ring in Riak 2, it is for all intents and purposes deprecated. The best solution, as always, is to benchmark your cluster's performance using real world load, and plan for a bit of head room if expansion is likely. -- Luke Bakken Engineer lbak

Re: Changing ring size on 1.4 cluster

2016-06-01 Thread Luke Bakken
Hi Johnny, Yes, the latter two are your main options. For a 1.4 series Riak installation, your only option is to bring up a new cluster with the desired ring size and replicate data. -- Luke Bakken Engineer lbak...@basho.com On Fri, May 27, 2016 at 12:11 PM, Johnny Tan <johnnyd...@gmail.

Re: Riak Search and custom Solr components

2016-05-31 Thread Luke Bakken
all of Riak. -- Luke Bakken Engineer lbak...@basho.com On Tue, May 31, 2016 at 8:54 AM, Steve Garon <steve.ga...@gmail.com> wrote: > Hey Guillaume, > > We had to alter the solrconfig.xml in our deployment because the default > solrconfig.xml does not give good search throughput w

Re: Ranking search results by relevancy

2016-05-25 Thread Luke Bakken
you can do. -- Luke Bakken Engineer lbak...@basho.com On Wed, May 25, 2016 at 9:33 AM, Alex De la rosa <alex.rosa@gmail.com> wrote: > Hi Luke, > > That was not the question... I know that I can use ORs, etc... I wanted to > know how to sort them by relevancy or higher equali

Re: Ranking search results by relevancy

2016-05-25 Thread Luke Bakken
on top of that. It should be possible to combine your queries using OR. More info about Solr ranking can be found online (such as https://wiki.apache.org/solr/SolrRelevancyFAQ). -- Luke Bakken Engineer lbak...@basho.com On Wed, May 18, 2016 at 10:07 AM, Alex De la rosa <alex.rosa@gmail.

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Luke Bakken
and > also read data from the nodes? Yes, since these operations do not involve Stanchion. -- Luke Bakken Engineer lbak...@basho.com ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Luke Bakken
Alex - You won't be able to create new users or buckets while Stanchion is offline. You would follow normal procedures to rebuild Riak KV on the crashed node, and in the meantime could bring up Stanchion on an existing node. -- Luke Bakken Engineer lbak...@basho.com On Mon, May 23, 2016 at 9:29

Re: Questions about installing Stanchion for Riak CS

2016-05-23 Thread Luke Bakken
Hi Alex, You should only have one active Stanchion process running in your cluster, since its purpose is to ensure consistent, ordered operations with regard to users and buckets. You can have a hot-backup if you configure a load balancer to proxy requests from the Riak CS processes. -- Luke

Re: Riak install on instance with multiple OTP's

2016-05-23 Thread Luke Bakken
- -- Luke Bakken Engineer lbak...@basho.com On Mon, May 23, 2016 at 7:35 AM, Robert Latko <rob...@lmi-global.com> wrote: > Hi Sargun, > > I installed it from source on Ubuntu14.04 LTS. > > I'll take a look at kerl as well; right now this issue more academic than > anyt

Re: Precommit hook function - no error log - how to debug?

2016-05-17 Thread Luke Bakken
ut is appropriate for testing. Thanks - -- Luke Bakken Engineer lbak...@basho.com On Tue, May 17, 2016 at 11:10 AM, Luke Bakken <lbak...@basho.com> wrote: > > Riak users subscribers - > > I would like to add the caveat that this workaround indicates an > environment

Re: Precommit hook function - no error log - how to debug?

2016-05-17 Thread Luke Bakken
Riak users subscribers - I would like to add the caveat that this workaround indicates an environment-specific issue and not (at this point) a bug in Riak. I am working to get to the root cause (pun intended) Thanks, Luke lbak...@basho.com On May 17, 2016 10:54 AM, "Sanket Agrawal"

Re: RIAK TS - FreeBSD

2016-05-16 Thread Luke Bakken
Hello, There is no plan for official FreeBSD support in Riak TS. Support for FreeBSD packages for Riak KV will be discontinued in the future. -- Luke Bakken Engineer lbak...@basho.com On Sun, May 15, 2016 at 5:41 PM, Outback Dingo <outbackdi...@gmail.com> wrote: > Cu

Re: Precommit hook function - no error log - how to debug?

2016-05-16 Thread Luke Bakken
filed the following docs issue: https://github.com/basho/basho_docs/issues/2076 -- Luke Bakken Engineer lbak...@basho.com On Mon, May 16, 2016 at 8:20 AM, Sanket Agrawal <sanket.agra...@gmail.com> wrote: > Shouldn't precommit body show up in cluster-info first before we try to test &g

Re: Querying SOLR outside of Riak

2016-05-16 Thread Luke Bakken
Hi Alex, Benchmarking is the only sure way to know if you need to add this additional complexity to your system for your own use-case or if search in Riak 2.0 will suffice. I suspect the latter will be true. -- Luke Bakken Engineer lbak...@basho.com On Mon, May 16, 2016 at 6:08 AM, Alex De la

Re: Precommit hook function - no error log - how to debug?

2016-05-16 Thread Luke Bakken
ccessfully? -- Luke Bakken Engineer lbak...@basho.com On Mon, May 16, 2016 at 7:17 AM, Sanket Agrawal <sanket.agra...@gmail.com> wrote: > Hi Luke, > > More on the precommit hook debugging I just did - I might have a handle on > what the problem is. I took a cluster-info dump for al

Re: Riak-TS 1.3 - how to Drop an existing table and enable Authorization for HTTP APIs

2016-05-13 Thread Luke Bakken
Hi Kyle, Riak TS is not yet compatible with Riak Security. Dropping or truncating tables has been requested but is not in the 1.3 release. Comprehensive docs for Riak TS are located here: http://docs.basho.com/riak/ts/1.3.0/using/ -- Luke Bakken Engineer lbak...@basho.com On Wed, May 11, 2016

Re: Precommit hook function - no error log - how to debug?

2016-05-13 Thread Luke Bakken
_uuid function. Note that the period is significant: redbug:start(60, 10, "precommit:pre_uuid/1->return"). If you run the above redbug statement on all nodes, you should see one or more outputs showing that it was called. You can confirm that redbug is working by tracing calls to

Re: Precommit hook function - no error log - how to debug?

2016-05-13 Thread Luke Bakken
Sanket - One other thought. Could you please change the name of your module to something other than "precommit"? That is the atom being used for precommit hooks and maybe that's causing an issue. -- Luke Bakken Engineer lbak...@basho.com On Fri, May 13, 2016 at 7:05 AM, Luke Ba

Re: Precommit hook function - no error log - how to debug?

2016-05-11 Thread Luke Bakken
Hi Sanket, Another thing I'd like to confirm - you have installed your compiled .beam file on all Riak nodes and can confirm via "m(precommit)" that the code is available? -- Luke Bakken Engineer lbak...@basho.com On Wed, May 11, 2016 at 12:12 PM, Sanket Agrawal <sanket.agra...@gma

Re: Precommit hook function - no error log - how to debug?

2016-05-11 Thread Luke Bakken
Hi Sanket - I'd like to confirm some details. Is this a one-node cluster? Did you install an official package or build from source? Thanks - -- Luke Bakken Engineer lbak...@basho.com On Tue, May 10, 2016 at 6:49 PM, Sanket Agrawal <sanket.agra...@gmail.com> wrote: > One more thing -

Re: Very slow acquisition time (99 percentile) while fast median times

2016-05-03 Thread Luke Bakken
/configuring/backend/#leveldb -- Luke Bakken Engineer lbak...@basho.com On Tue, May 3, 2016 at 7:33 AM, Guillaume Boddaert <guilla...@lighthouse-analytics.co> wrote: > Hi, > > Sorry for the delay, I've spent a lot of time trying to understand if the > problem was elsewhere. >

Re: python client - failing mapreduce on fulltext search

2016-05-02 Thread Luke Bakken
Hello, The "not_found" in the error indicates that the object was not found. When performing map / reduce operations, you have to take this into account. -- Luke Bakken Engineer lbak...@basho.com On Mon, Mar 14, 2016 at 11:37 AM, Bartłomiej Górny <bar...@gorny.edu.pl> wrote: &g

Re: Very slow acquisition time (99 percentile) while fast median times

2016-05-02 Thread Luke Bakken
o-settings If you are using the default "vm.dirty_*" settings Linux will appear to pause as it flushes disk buffers to the underlying device. The settings in the document change this so that flushes happen more often and asynchronously. -- Luke Bakken Engineer lbak...@basho.com On Mon, Ma

Re: Very slow acquisition time (99 percentile) while fast median times

2016-05-02 Thread Luke Bakken
Could you please check the objsize stats on every Riak node? If they are all zero then ... -- Luke Bakken Engineer lbak...@basho.com On Mon, May 2, 2016 at 8:26 AM, Guillaume Boddaert <guilla...@lighthouse-analytics.co> wrote: > My clients are working through an haproxy box c

Re: Very slow acquisition time (99 percentile) while fast median times

2016-05-02 Thread Luke Bakken
Which Riak client are you using? Do you have it configured to connect to all nodes in your cluster or just one? -- Luke Bakken Engineer lbak...@basho.com On Mon, May 2, 2016 at 7:40 AM, Guillaume Boddaert <guilla...@lighthouse-analytics.co> wrote: > Hi Luke, > > Well objsize

  1   2   3   >