{read_block_error,<<"0">>} with level_db

2014-07-30 Thread Bryan
t;<"0">>}, {fixed_indexes,true}] So my question is pretty simple and just looking for clarification. How should this be read? 1) that there are 0 read_block_errors? Or 2) that the read_block_error code is <<“0”>>. Cheers, Bryan Bryan Hughes Go Factory (

500 response listing a bucket with 2 keys

2014-08-18 Thread Bryan
131,100,0,19,110,117,99,108,101,117,115,45,50,64, (nucleus@127.0.0.1)2>49,50,55,46,48,46,48,46,49>>). 'nucleus-2@127.0.0.1' I am looking through the console.log, but there is nothing but some bitbask merge messages. Cheers, Bryan Bryan Hughes Go Factory h

Re: 500 response listing a bucket with 2 keys

2014-08-18 Thread Bryan
Thanks! That fixed it. We don’t usually use the HTTP API. Cheers, Bryan Bryan Hughes Go Factory http://www.go-factory.net Connecting the Internet of Things On Aug 18, 2014, at 2:00 PM, Sean Cribbs wrote: > The problem is term_to_binary. I suspect that <<131, 100, 0, ...>

Riak Secondary Index Limits

2014-08-28 Thread Bryan
read is not completely clear on what happens if the indexed value is updated when the value has such a low degree of selectivity? We have less than 512 partitions and are using the erlang client. Thanks in advance - any insights will be much appreciated! Cheers, Bryan ---- Bryan Hugh

Re: Riak Secondary Index Limits

2014-08-29 Thread Bryan
enumerated over, versus a key/list_of_values term? In other words, if I have 600K records where foobar=barfoo, will this be 600K reads, or 1 read with a list of 600K entries which are then enumerated over in memory? Cheers, Bryan Bryan Hughes Go Factory http://www.go-factory.net On Aug 29

Re: Writing a reduce phase with reduce_phase_only_1 and additional parameters

2012-06-01 Thread Bryan Fink
to find two tuples: {page, Page} and {page_size, PageSize}. The MapReduce spec would look like this (to start at 1 and grab 10 results): {reduce, {modfun, whisper_db, reduce_slice3}, [{page, 1}, {page_size, 10}, reduce_phase_only_1], true} I hope that helps. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Follow-up: Riak / Map, Reduce - error [preflist_exhausted]

2012-06-12 Thread Bryan Fink
or tweaking those queue sizes are not exposed in the MapReduce interface. Of course, none of this precludes some other bug causing trouble, but if each of you could check your JS VM settings against the formulas above, I'd be interested in hearing what you find. -Bryan

Re: Link walking with Erlang riak client

2012-06-20 Thread Bryan Fink
reduce phases. http://wiki.basho.com/MapReduce.html#Erlang-Query-Syntax > 2 - Is it possible to check fast if A -> B -> A (still in Erlang)? ('->' > represents Links) The fastest way to do this is to fetch both A and B and look through the links they contain. HTH, Brya

Re: Link walking with Erlang riak client

2012-06-20 Thread Bryan Fink
t; A. You could put a map or reduce phase between the two link phases to filter out everything but B, but my bet is that simply fetching A and B individually will be much faster than setting up and tearing down the MR framework. YMMV, always benchmark real data, etc. -Bryan _

Re: link with out changing data

2012-06-26 Thread Bryan Fink
during a link-changing operation is your goal, my advice would be to use two objects: one for your country data, and one for its links. This way you can change the links object without touching the data object. HTH, Bryan ___ riak-users mailing list r

Re: link walking- get a single object from 1000 objects with tag 'city'

2012-06-26 Thread Bryan Fink
bucket: $ curl -X POST -H "content-type: application/json" http://localhost:8098/mapred --data "{\"inputs\":[[\"venki\",\"a\"]],\"query\":[{\"link\":{\"bucket\":\"venki\"}}]}" HTTP/1.1 200 OK Server: M

Re: About second parameter of riakc_pb_socket:mapred

2012-07-13 Thread Bryan Fink
], riak_pipe:eoi(Pipe). And an example usage is: riakc_pb_socket:mapred(S, {modfun, trend_riak, test, whatever}, [{map, {modfun, riak_kv_mapreduce, map_object_value}, none, true}]). Hope that helps, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Request queue issue with riakc_pb_socket

2012-08-02 Thread Bryan Fink
ttle bit of a long shot, since your timeout is so long, but it's the only way I've been able to recreate such a situation so far. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: MR Timeout

2012-08-03 Thread Bryan Fink
communication. Reduce phases, in particular, also benefit from ensuring that your function is actually *reducing* (not accumulating an ever-growing result on each invocation), and from tuning reduce_phase_batch_size or even using reduce_phase_only_1. (http://wiki.basho.com/MapReduce-Impleme

Re: multi-get (yet again)

2012-08-10 Thread Bryan Fink
ion is good, I think this behavior is useful in more cases than resolving a notfound. Hopefully what I've written above is enough to get one or more of you started down a path. Cheers, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: mapreduce with non-existent keys

2012-08-23 Thread Bryan Fink
e of what this looks like can be found in the riak_kv_mapreduce:map_object_value/3 function: https://github.com/basho/riak_kv/blob/master/src/riak_kv_mapreduce.erl#L81-99 So, if you find the intermediate aggregation of that filtering reduce to be a problem, you could consider migrating to Er

Re: Bad MapReduce job brings the Riak to a screeching halt?

2012-08-30 Thread Bryan Fink
dying like this during a fold operation). Could you share more details about what you meant by "crash", please? Thanks for reporting this. Cheers, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: 'forward_preflist' error in MapReduce

2012-08-31 Thread Bryan Fink
ot;>>,<<\"123\">>}","type":"forward_preflist","stack":"[]"} > > Is anyone familiar with this problem? How can I make it to work? Hi, Matthew. I see you already found https://github.com/basho/riak_kv/issues/290. That i

riakc_pb_socket:start_link question with a riak cluster

2012-09-02 Thread Bryan Hughes
to a different node in the cluster while testing "aliveness" with ping/2 and an immediate timeout? Cheers, Bryan -- Bryan Hughes *Wobblesoft* http://www.wobblesoft.com /"Art is never finished, only abandoned. - Leonardo da Vinci"/ __

Re: riakc_pb_socket:start_link question with a riak cluster

2012-09-03 Thread Bryan Hughes
again! Cheers, Bryan On 9/2/12 11:39 PM, Mark Phillips wrote: Hi Brysn , There have been at least four chunks of code released to handle connection pooling ( in addition to poolboy); http://wiki.basho.com/Community-Developed-Libraries-and-Projects.html#Client-Libraries-and-Frameworks

Re: riakc_pb_socket:start_link question with a riak cluster

2012-09-03 Thread Bryan Hughes
object is given two siblings. These writes could happen to the same node or different ones. Cheers, Bryan On 9/3/12 10:47 AM, Bryan Hughes wrote: Thanks for the replies - this is very helpful. Our persistence abstraction layer already sports a robust process pool as we do support other

Re: riakc_pb_socket:start_link question with a riak cluster

2012-09-03 Thread Bryan Hughes
e 2 to node B (not concurrently) using two different protobuffer client processes (<0.101.0> and <0.102.0> respectively)? Are there any caveats to this approach? Also, we are on 1.2. Cheers, Bryan On 9/3/12 1:37 PM, Kresten Krab Thorup wrote: That comment is no longer correct sin

Re: List of all available JS functions

2012-09-06 Thread Bryan Fink
ct are also included: https://github.com/basho/erlang_js/blob/master/priv/json2.js -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: MapReduce job not stopping

2012-09-06 Thread Bryan Fink
face, which does monitor the connection state. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: riak_core application design questions

2012-10-02 Thread Bryan Fink
falls back to others if needed. (Though its current use case also gets to assume that the node that started the query stays up for the entire duration of the query, so there is a point that can tell when an input has been lost.) HTH, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Map Reduce and long queries -

2012-10-15 Thread Bryan Fink
es, http://docs.basho.com/riak/latest/references/appendices/MapReduce-Implementation/ should be improved to give this warning as well. I've added an issue to our new docs repo to track this improvement: https://github.com/basho/basho_docs/issues/13 -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Is it possible to include node load into the consistency hashing function in riak-core?

2012-10-15 Thread Bryan Fink
ded-network case could prove interesting and valuable, and regular benchmarking could just prove me wrong. Also, Pipe could almost certainly benefit from such a behavior, since its operations usually target one vnode at a time instead of N. That is to say, please share your results if

Re: noproc error on Map/Reduce

2012-10-15 Thread Bryan Fink
u using? If this is the problem, you'll probably see errors in your Riak node's logs about riak_kv_js_vm crashing/exiting. I've opened a new issue to track this problem here: https://github.com/basho/riak_kv/issues/403 . If you learn more about the root cause, please reply either

Re: Riak mapreduce function map_object_value return empty result on erlang pb client

2012-10-15 Thread Bryan Fink
;2">>},{<<"mk">>,<<"3">>}] 3> [ riakc_pb_socket:put(S, riakc_obj:new(B, K, K)) || {B, K} <- BK ]. [ok,ok,ok] 4> {ok, [{0,Result}]} = riakc_pb_socket:mapred(S, BK, [{map, {modfun, riak_kv_mapreduce, map_object_value},undefined, true}]). {ok,[{0,[<<"1">>,<<"2">>,<<"3">>]}]} Can you see where my example differs from yours? -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Riak mapreduce function map_object_value return empty result on erlang pb client

2012-10-15 Thread Bryan Fink
this kind of unknown, unexpected breakage should not happen again. Thanks for spending time tracking this down, and sending in the report. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Issue with clustering Riak nodes on CentOS servers.

2012-10-30 Thread Bryan Hughes
-j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8087 -j ACCEPT > sudo service iptables restart Hope this helps... Bryan On 10/30/12 11:39 AM, SWEENEY, JAMES wrote: Hello, I am attempting to create a 4 node riak installation on 4 separate CentOS servers. Ins

Re: Issue with clustering Riak nodes on CentOS servers.

2012-10-30 Thread Bryan Hughes
T 32. sudo service iptables restart Cheers, Bryan On 10/30/12 8:14 PM, SWEENEY, JAMES wrote: Hey thanks for the reply Bryan, I did go through the instructions below. Plus I had checked the iptables right away after I installed, and iptables does not seem to be running on any of my centos

Re: read-repair and map-reduce

2012-11-05 Thread Bryan Fink
value to be tuned, such a patch would trigger read-repair automatically. I have not yet heard of progress on such a patch, though. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Rebar: user defined macro

2012-11-05 Thread Bryan Fink
ts, [{d, foo, 17}]}. The rebar mailing list may have better answers: http://lists.basho.com/mailman/listinfo/rebar_lists.basho.com -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Using map 'arg' in mapreduce calls in python and Erlang clients

2012-11-10 Thread Bryan Fink
> And how do I print out some logging information from my map function? I > tried using lager like I found in the riak code, > > lager:error("Arg is ~p", [IndexJson]), > > but I can't find the message in any of the Riak logs. Lager requir

Re: Pipe worker startup failed:fitting was gone before startup

2012-11-19 Thread Bryan Fink
ould also help, since it will be faster, and will not have the same sort of VM contention. But, I understand, that's not as easy to using in early-stage development. HTH, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: MapReduce queries fail while node is starting

2012-11-19 Thread Bryan Fink
_terminated > > Is this a known issue or something we are doing wrong? Hi, Nico. I believe this is a known issue: https://github.com/basho/riak_core/pull/231 It has been fixed on master, and it will be part of the next Riak release. That fix was also merged into the 1.2 branch, if you&

Re: Pipe worker startup failed:fitting was gone before startup

2012-11-21 Thread Bryan Fink
verything works fine. Fantastic. I'm glad it worked out. > I will post your answer unter my question at Stackoverflow, if it is ok for > you? Please be my guest. I have little interest in maintaining an account there myself. Cheers, Bryan _

Re: A bunch of Erlang client questions

2012-11-27 Thread Bryan Fink
//docs.basho.com/riak/latest/references/apis/protocol-buffers/PBC-Store-Object/ > * How will riakc_pb_socket:get/3 behave when queue_if_disconnected is > enabled? Will it fail immediately if the socket is disconnected or > block until it has reconnected? With queue_if_disconnected enable

Re: A bunch of Erlang client questions

2012-11-27 Thread Bryan Fink
t;three">>). {riakc_obj,<<"one">>,<<"two">>,undefined,[],undefined, <<"three">>} 7> riakc_pb_socket:put(S, O, [if_none_match]). ok 8> riakc_pb_socket:put(S, O, [if_none_match]). {error,<<"match_found">>} -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Using Secondary Indices as input to a map reduce function in Riak

2012-12-06 Thread Bryan Fink
ts" field should be a JSON object like: {"bucket":"mybucket", "index":"myindex_bin", "key":"my exact match"} or {"bucket":"mybucket", "index":"myindex_int", "start

Re: python map reduce and secondary indexes

2012-12-10 Thread Bryan Fink
the arg so we can // reuse this same function for any range if (da > arg.min && da < arg.max) return [v.key]; // in range - keep result else return []; // out of r

Re: problem counting items with MapReduce

2012-12-10 Thread Bryan Fink
:"function(v,a) { return [v.length]; }","arg":{"reduce_phase_only_1":true}}} Alternatively, you could replace both of those reduce phases with a single phase calling the built in riak_kv_mapreduce:reduce_count_inputs/2, like so: {"reduce":{"language":&

Re: error with MR and someone had painted it blue

2012-12-10 Thread Bryan Fink
put list was large enough to fill pipe processing queues in a preflist: https://github.com/basho/riak_kv/issues/290 This issue has been fixed on master, and will be part of the 1.3 release. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: MapReduce job crashes?

2012-12-11 Thread Bryan Fink
e\">>,<<\"unknown\">>}]">>} Hi, Brad. Your Javascript VM ran out of stack space. Raise the value of `js_thread_stack` in your app.config, as detailed on http://docs.basho.com/riak/latest/references/MapReduce---Settings/, and that error should go awa

Re: where did my data go when I write to riak?

2012-12-19 Thread Bryan Fink
;/data/riak"}, in app.config. I agree that this does look suspicious, but it's actually normal. The `platform_data_dir` setting controls where generic vnode operational data is stored. The setting controlling where your application's data is stored is controlled by the `data_root`

Re: Getting Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

2012-12-20 Thread Bryan Fink
he content of that file is run every time the Erlang VM starts, and this has been known to cause problems with Riak startup. http://erlang.org/doc/man/erl.html#configuration -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: CRASH REPORT Process <<"TypeError: reduce of empty array with no initial value">>},{<<"source">>,<<"unknown">>}]}

2012-12-20 Thread Bryan Fink
doesn't know what to do. You will need to either include an initial value as a second parameter, like: values.reduce(function(acc, item) { ... }, {}) //initial empty object Or check to see if `values` is empty before reducing, like the Riak JS re

Re: Using the Local Client from a riak-attach session

2013-01-21 Thread Bryan Fink
`riak_client`, luke-based version, and only the pipe-based version remains. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Differences between riak_client and riak_kv_mrc_pipe MapReduce when one node is down.

2013-01-31 Thread Bryan Fink
bout how many keys are in this bucket? 4. About how many keys do you expect to match the index query? Thanks, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Differences between riak_client and riak_kv_mrc_pipe MapReduce when one node is down.

2013-01-31 Thread Bryan Fink
; > After that all work fine. Excellent! That was exactly the hunch I was hinting at. I wasn't using the prereduce phase, and that is why I couldn't reproduce exactly what you were seeing. I like your solution. Please do submit a pull request for it. Thank you for digging! -Bryan ___

Re: Structure of Erlang MR Arg

2013-02-26 Thread Bryan Fink
er data to be passed to the function, as usual. Some of the built-in functions in riak_kv_mapreduce.erl need to be updated to support an arg in this format; sorry for the mixed message. HTH, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Structure of Erlang MR Arg

2013-02-26 Thread Bryan Fink
On Feb 26, 2013, at 9:16 AM, Bryan Fink wrote: >> {"reduce":{"language":"erlang", ... >> "arg":{"do_prereduce":true, >> "reduce_phase_batch_size": 250 ... I should have also mentioned that `d

Question regarding support for images

2013-03-06 Thread Bryan Hughes
the size of binary data that can be stored, as well as performance of reads? I recall Mark suggesting to limit binary data to 10MB. I am curious where this limitation comes from? Thanks, Bryan -- Bryan Hughes *Go Factory* http://www.go-factory.net

Re: Question regarding support for images

2013-03-06 Thread Bryan Hughes
ta centers. Does this help? Cheers, Bryan On 3/6/13 4:14 PM, Matthew Von-Maszewski wrote: Just curious, what is the typical size and the overall range of sizes for your image data? Matthew On Mar 6, 2013, at 6:08 PM, Bryan Hughes <mailto:br...@go-factory.net>> wrote: Hi Everyone, I

Re: riak errors related to riak_pipe_vnode

2013-05-21 Thread Bryan Fink
change for the next version of Riak that lowers that message from 'error' to 'debug' level. https://github.com/basho/riak_pipe/pull/75 Look forward to less noise in your logs soon. Cheers, Bryan On Tue, Apr 30, 2013 at 8:40 AM, Bhuwan Chawla wrote: > Thank you very mu

Re: MapReduce: map then inputs

2013-05-24 Thread Bryan Fink
o work with the objects that were linked. Or, if you just wanted the friend/user objects, instead of some piece of them, you could use the URL http://host:port/buckets/user/keys/mathew/user,friend,1 http://docs.basho.com/riak/latest/references/appendices/concepts/Links/ Cheers, Bryan _

Re: Help with a complex Map Reduce query

2013-06-04 Thread Bryan Fink
eys to a client less punishing by requesting just a few keys at a time from the '$bucket' index. This capability is committed on our master branches, linked from https://github.com/basho/riak_kv/pull/540 HTH, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Rebar question

2013-06-12 Thread Bryan Hughes
Sorry if this has been asked before, spent some time Googling around and didnt find anything. How do I pass in "-s cryto -s bcrypt" when running eunit tests with rebar? Thanks! Bryan -- Bryan Hughes *Go Factory* http://www.go-factory.net /"Internet Class, E

Urgent help with a down node.

2013-07-07 Thread Bryan Hughes
ue: {badarg,[{erlang,system_info,[global_heaps_size],[]},{riak_kv_stat,system_stats,0,[{file,"src/riak_kv_stat.erl"},{line,421}]},{riak_kv_stat,produce_stats,0,[{file,"src/riak_kv_stat.erl"},{line,320}]},{timer,tc,3,[{file,"timer... -- Bryan Hughes *Go Factory* http://ww

Re: Urgent help with a down node.

2013-07-07 Thread Bryan Hughes
uot;},{line,421}]},{riak_kv_stat,produce_stats,0,[{file,"src/riak_kv_stat.erl"},{line,320}]},{timer,tc,3,[{file,"timer... This is on a dev cluster with an out-of-the box configuration using bitcask. Thanks! Bryan On 7/7/13 2:51 PM, Mark Phillips wrote: Hi Bryan, I remember s

Re: Urgent help with a down node.

2013-07-08 Thread Bryan Hughes
is is data lost, how did it happen. I ran fsck on all the disks and checked the health of the system - which is all good. The later information was included for completeness. Bryan On 7/8/13 12:49 AM, Andrew Berman wrote: Bryan, What version of Erlang? You should check this out: https://

Re: Urgent help with a down node.

2013-07-08 Thread Bryan Hughes
Hi John, Thank you! Can you give any insight as to what is the cause of the problem, or point me to any Basho Documentation detailing this? Cheers, Bryan On 7/8/13 8:22 AM, John Caprice wrote: Hey Bryan, This indicates a problem with the Bitcask data file. That data file, according to

Re: Riak 1.3.1 Errors

2013-08-07 Thread Bryan Fink
OTP's 'supervisor' module (see my last comment on riak_pipe issue #49 [1]). The fix requires more restructuring than we had time to do for the 1.4 release. Despite the 'error' level of the log (which is set by code we don't control), the race is harmless, and the correct l

Help! Uncaught error in rebar_core:

2014-02-08 Thread Bryan Hughes
7; and it pulls the dependencies ok. I then type 'rebar compile', and it compiles ok. When I step up to the top level project directory, it still craps out on the riak_pb dependency directory. I have our rebar.config output below the error message. ==> Entering directory `/Users/br

Re: Help! Uncaught error in rebar_core:

2014-02-08 Thread Bryan Hughes
Hi Sean, Thanks! I just realized that. It resolved my issue -- and thank you for the super quick reply. Its always very comforting to know that you guys are always so fast to respond. Much appreciated! Cheers, Bryan On 2/8/14, 2:40 PM, Sean Cribbs wrote: Hi Bryan, You'll want to use

Riak 1.4.2 crashing

2014-03-01 Thread Bryan Hughes
1064 maxfiles65536 65536 There are only 372 files in the data bitcask directory: bryan@yetitron:/opt/riak-1.4.2$ ls data/bitcask/*/* | wc -l 372 Here is the message repeated many times from the error.log 2014-03-01 10:38:55.080 [error] <0.15839.0> gen_server memsup

Re: Riak 1.4.2 crashing

2014-03-01 Thread Bryan Hughes
Hi Matthew, It is on. Here is the file count: bryan@yetitron:/opt/riak-1.4.2$ ls data/anti_entropy/*/* | wc -l 1484 Also note, this was happening when I was running our eunit test suite. After taking a break I reran the tests and it is no longer crashing. Cheers, Bryan On 3/1/14, 11

Re: Error starting riak server

2014-05-20 Thread bryan hunt
Redhat variants the equivalent commands would be sudo yum install openssl-devel ./configure --enable-m64-build sudo make install Regards, Bryan On 20 May 2014, at 17:06, Hector Castro wrote: > Rachana, > > This appears to be an issue with how the Erlang you are trying to run &g

Re: Timeout when accessing a key in a strongly consistent bucket

2014-06-30 Thread bryan hunt
`riak-admin transfers` and see if there are any active transfers happening. Thanks, Bryan Hunt On 27 Jun 2014, at 16:15, Zsolt Laky wrote: > Hi Christian, > > Exactly the same with beta1. > > brg > Zsolt > > On Jun 27, 2014, at 13:25, Christian Dahlqvist wrote: >

Re: Framework to Migrate data from SQL Server and from DB2 to RIAK for Java application

2014-06-30 Thread bryan hunt
://docs.basho.com/riak/latest/dev/using/libraries You might find it initially useful to interact with Riak using the curl client: http://docs.basho.com/riak/latest/dev/references/http/#Object-Key-Operations Best Regards, Bryan Hunt On 30 Jun 2014, at 12:59, Sangeetha wrote: > could someone help me

Re: Issues with high node load and very slow response

2014-07-27 Thread Bryan Hunt
Hello Chaim, How big is the object you are trying to index? Are siblings (allow_mult) enabled? What type of object is it? CRDT, binary blob, text? Can you paste the output from riak-admin member-status and ring-status. Also riak status. Thanks, Bryan On 27 Jul 2014 04:55, "Chaim Solomon&qu

Re: repair-2i stops with "bad argument in call to eleveldb:async_write"

2014-07-29 Thread bryan hunt
Sounds like disk corruption to me. Bryan Hunt - Client Services Engineer - Basho Technologies Limited - Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431 On 29 Jul 2014, at 13:06, Effenberg, Simon wrote: > Said to say but the issue stays the same.. even after

Re: repair-2i stops with "bad argument in call to eleveldb:async_write"

2014-07-29 Thread bryan hunt
Hi Simon, Does the problem persist if you run it again? Does it happen if you run it against any other partition? Best Regards, Bryan Bryan Hunt - Client Services Engineer - Basho Technologies Limited - Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431 On 29 Jul

Re: repair-2i stops with "bad argument in call to eleveldb:async_write"

2014-08-06 Thread bryan hunt
lso be monitored using the `riak-admin transfers` command. http://docs.basho.com/riak/1.4.9/ops/running/recovery/repairing-partitions/#Running-a-Repair Best Regards, Bryan Hunt Bryan Hunt - Client Services Engineer - Basho Technologies Limited - Registered Office - 8 Lincoln’s Inn Fields Londo

Re: How to call riak_core_ring:remove_member/3 from erlang shell?

2014-08-20 Thread bryan hunt
Hi Sebastian, Wow that’s a really old version, I know with modern versions the ring file can be nuked at the expense of a ton of transfer activity when you join the nodes back into a single cluster, shouldn’t lose data though. Anyone want to chime in with an opinion on this version ? Bryan

Luwak External - Was: How to call riak_core_ring:remove_member/3 from erlang shell?

2014-08-20 Thread Bryan Fink
. This hasn't been tested in ages. Consider migrating to RiakCS instead. YMMVHTHHAND, Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Generic server memsup terminating Mountain Lion

2014-09-14 Thread Bryan Hunt
Spiro, I am somewhat clueless on OSX, but I use the following command when starting Riak, and it seems to work for me: sudo launchctl limit maxfiles 65536 65536 ulimit -n 65536 Bryan On Wed, Sep 10, 2014 at 1:54 AM, Toby Corkindale wrote: > Are you trying to use Riak CS for file storage,

Re: Generic server memsup terminating Mountain Lion

2014-09-15 Thread bryan hunt
Hi Spiro, What version are you running, If you don’t mind me asking? Bryan On 14 Sep 2014, at 21:34, Spiro N wrote: > Hi Bryan, thanks for your response. I had used the same commands with the > same settings you used before I raised it to no avail. After inspecting the > process

Re: Riak Multiple Versions on RHEL

2014-11-12 Thread Bryan Hunt
Short of running virtual machines, or docker instances this is not currently possible. On 11 Nov 2014 22:01, "Andrew Zeneski" wrote: > I have a cluster of RHEL 6 test servers currently running 1.4.10. I'd like > to install 2.0.2 on these servers along side of 1.4.10, without building > from sourc

Re: Bucket type - change of properties

2014-12-04 Thread bryan hunt
or are you just encountering siblings which were generated prior to your bucket-type properties change? Bryan > On 1 Dec 2014, at 17:37, Jason Ryan wrote: > > Hi all, > > > I have a simple riak 1 node install on a VM for development - I created a new > bucket type,

Re: How you are dealing with spikes?

2014-12-09 Thread Bryan Hunt
erage queries, meaning that typically they will hit 1/3 of your nodes. Bryan On 9 Dec 2014 16:55, "Alexander Popov" wrote: > Stats when recent spike happens for 15 minutes around it > get (826) > save (341) > listByIndex (1161) > mapReduce (621) //Input is IDs l

Re: Erlang crash dump viewer with Riak crash dumps

2015-02-12 Thread Bryan Hunt
I can't even get the gui to initialize on osx. I've been using the viewer from R17 with success. I use kerl to maintain multiple erlang versions on my system. On 12 Feb 2015 11:16, "Simon Hartley" wrote: > I am attempting to use the Erlang crash dump viewer application > (erl5.9.1\lib\observer-

Re: Erlang crash dump viewer with Riak crash dumps

2015-02-17 Thread bryan hunt
Good tip, thanks Scott! Bryan Hunt - Client Services Engineer - Basho Technologies Limited - Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431 > On 17 Feb 2015, at 02:18, Scott Lystig Fritchie > wrote: > > Hi, Bryan, sorry to jump in so late. Have yo

Re: object sizes

2015-04-13 Thread bryan hunt
our documentation - http://docs.basho.com/riak/latest/dev/advanced/mapreduce I haven't looked at the Python PB API in a while, but I'm reasonably certain it supports the invocation of MapReduce jobs. Bryan > On 10 Apr 2015, at 13:51, Alex De la rosa wrote: > > Also, I forgot

Re: nodes with 100% HD usage

2015-04-13 Thread bryan hunt
applicable to any business critical computer system. Bryan > On 9 Apr 2015, at 14:10, Alex De la rosa wrote: > > Hi there, > > One theoretical question; what happens when a node (or more) hits a 100% HD > usage? > > Riak can easily scale horizontally adding new nodes to the

Re: How to retrieve an image from Riak using UGameDB

2015-05-12 Thread Bryan Hunt
Hi Syed. I can't comment upon UGameDB but generally speaking you will need to set a content-type header indicating the mime type. For a JPEG image that type would be image/jpeg for a PNG it would be image/png. Riak just regards data as opaque blobs so it is probably defaulting to text/plain. Take a

Re: How to retrieve an image from Riak using UGameDB

2015-05-12 Thread Bryan Hunt
Didn't realise Chris and Christopher had already replied to this. On 12 May 2015 13:25, "Bryan Hunt" wrote: > Hi Syed. I can't comment upon UGameDB but generally speaking you will need > to set a content-type header indicating the mime type. For a JPEG image > that t

Re: Java client 1.1.4 and headOnly() in domain buckets

2015-05-12 Thread Bryan Hunt
Hi Daniel, do you have reasons not to upgrade to the latest driver. I know the semantics have changed somewhat. Are you running a fork of the client? Bryan On 12 May 2015 00:40, "Daniel Iwan" wrote: > Hi all > > Am I right thinking that v1.1.4 does not support headOnly()

Re: my cluster spontaneously loses a node after ~48hrs

2015-05-12 Thread Bryan Hunt
Also ensure ulimit is set according to the recommendations on docs.basho.com. ulimit set too low is a common cause of node termination. On 5 May 2015 21:23, "Jason Golubock" wrote: > > Scott - thanks for the response, > yes i've used all those tools at one point, but i'm not sure > exactly what i

Re: No WM route

2015-05-12 Thread Bryan Hunt
Hi Amit. Did you resolve your issue? On 23 Apr 2015 16:46, "Amit Anand" wrote: > Hi all Im very new to Riak CS so please bear with me! Finally managed to > get Riak, Riak CS and Stanchion all running and now Im trying to add the > admin user. When I run my curl command I get nothing back and in t

Re: Riak crashing until I delete AEE folders

2015-06-15 Thread bryan hunt
Hi Alex, Slight confusion in the last response. Just zip up the log files from that node and email them directly to me. We’ll take a look. B > On 15 Jun 2015, at 15:50, Matthew Brender wrote: > > Hey Alex, > > The best place to start on troubleshooting behaviors like the one you > saw i

Re: Riak crashing until I delete AEE folders

2015-06-15 Thread bryan hunt
ebdf1f383f5d59fbaecf7f0a?diff=split> 2.0.1 is way, way, old. I’d recommend a jump to 2.0.6, it’s a much more stable release, or 2.1.1 for the latest hotness. Best Regards, Bryan Hunt > On 15 Jun 2015, at 17:25, Alex De la rosa wrote: > > Hi Bryan > > Thanks for your help :

Re: riak-2.1.1 compilation from source

2015-07-29 Thread Bryan Hunt
For the second error increase the ulimit for the riak user to 20 via /etc/security/limits.conf or equivalent.  

Re: worker_limit reached for map reduce jobs

2015-08-28 Thread Bryan Fink
tages) + (number of map stages with pre-reduce enabled) + (number of reduce stages) Multiply that sum by the number of MR jobs you want to have in-flight concurrently. That will give you an overestimate of the worker_limit to use (because not all stages use a worker on every vnode). The defau

Re: Python for Luwak

2011-02-14 Thread Bryan Fink
If you're familiar with Python's HTTP libraries, you should be able to make it play pretty quickly. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: luwak questions

2011-02-23 Thread Bryan Fink
not its key qualifies, you'll need to code your logic in an Erlang function instead of Javascript. If you need something closer to the Javascript function in your example (which could be used to produce a count of the filtered keys, instead of

Re: Number of replica for Luwak

2011-02-23 Thread Bryan Fink
w tree. A flush will only occur when a stream closes, unless your program explicitly calls luwak_put_stream:flush/1. -Bryan ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Number of replica for Luwak

2011-02-23 Thread Bryan Fink
On Wed, Feb 23, 2011 at 10:40 AM, Les Mikesell wrote: > On 2/23/2011 9:11 AM, Bryan Fink wrote: >> >> On Fri, Feb 18, 2011 at 8:54 PM, Les Mikesell >>  wrote: >>> >>> What happens if there is a read of the object while it is in the process >>&g

Re: tuning riak for 100s of concurrent connections

2011-02-25 Thread Bryan O'Sullivan
On Fri, Feb 25, 2011 at 12:17 PM, Joseph Blomstedt wrote: > > For protocol buffers there are client libraries that support > connection pooling. Of the top of my head I know riak-js does, and [...] > My Haskell client does, too: https://github.com/mailrank/riak-haskell-client It also supports r

  1   2   3   >