Riak 1.0 LevelDB issue

2011-10-07 Thread Dan
Hi, after storing more than one million keys (random key ids, 200 byte datas) over http to a riak standalone node, i get an timeout. It seems to me that riak is crashing after opening more than 1100 ??? LevelDB files. I'm on OSX 10.7 and homebrew riak 1.0. The Riak settings are default with enable

Re: Riak 1.0 LevelDB issue

2011-10-12 Thread Dan
Hi Dave, thanks for your responce. I' ve added the answers to http://www.pastie.org/2684320 and to http://pastebin.com/eiPqFvED. Thanks, Daniel -- View this message in context: http://riak-users.197444.n3.nabble.com/Riak-1-0-LevelDB-issue-tp3403785p3416583.html Sent from the Riak Users mailin

Re: Riak Header Names Convention

2012-08-07 Thread Dan Reverri
Hi Vlad, Header names are case insensitive so both forms are correct. For example: $ curl http://127.0.0.1:8098/riak/b/k -XPUT -H 'content-type: text/plain' -H 'x-riak-meta-foo: bar' -H 'X-Riak-Meta-Baz: qux' -H 'X-RiAk-MeTa-HeLlO: world' -d 'text' $ curl http://127.0.0.1:8098/riak/b/k -i HTTP/1

How a client should take care of vector clocks

2012-09-02 Thread Dan Milon
Hello, I am implementing a client for nodejs, and I don't fully understand how a client should take care of vector clocks. http://wiki.basho.com/Vector-Clocks.html mentions that a well behaved client that does a read (to get the current vector clock) before a write. So whenever a user want

help designing schemas

2012-09-03 Thread Dan Milon
Hello, I am developing a web feed reader, with Riak as the database. While i have read a few examples about designing schemas in Riak, i have come up with an idea about this but i dont feel very confident. Its quite simple, there are Users, Feeds, and Articles. User logs in, sees feeds he is

Re: riakc_pb_socket:start_link question with a riak cluster

2012-09-03 Thread Dan Milon
Yeah, that is pretty awful. IMO, this should be top priority task. It doesn't matter how good the product/code/architecture is, as long as users cant understand what to expect when using it, or when they do, it is old news! If i did fully understand what the current situation is, I'd send over a

Re: List of all available JS functions

2012-09-06 Thread Dan Milon
forEach is a native javascript (ES5) method on Arrays. https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach danmilon. On 09/06/2012 05:04 PM, shaharke wrote: Hi Brian, Thanks for the quick reply. I might be missing here something, but I can't see any of

Re: Import/Export and Bulk operations

2013-02-26 Thread Dan Kerrigan
Kevin - There shouldn't be a major issue simply moving data from one place to another if the app.config values are different. Regarding the host, leave off the riak@ part. The command would then be: java -jar riak-data-migrator-0.1.3.jar -d -a -r ~/riak-dump -h 172.16.33.107 - Dan O

Re: Import/Export and Bulk operations

2013-02-26 Thread Dan Kerrigan
Kevin - That's correct. Incidentally, there's a new version of this tool, 0.1.5, that you'll need if you have bucket names with non 0-9, A-Z, a-z characters. - Dan On Tue, Feb 26, 2013 at 3:30 PM, Kevin Burton wrote: > Thanks. It is happily dumping now. > > **

Re: Getting basho_bench to work.

2013-03-20 Thread Dan Reverri
uot;{mynode, 'basho_bench@127.0.0.1'}." to your basho_bench config? Thank you, Dan Daniel Reverri Client Architect Basho Technologies, Inc. d...@basho.com On Wed, Mar 20, 2013 at 11:56 AM, Mark Phillips wrote: > Hey Kevin, > > Any chance you can pop into #riak on fr

Re: Getting basho_bench to work.

2013-03-20 Thread Dan Reverri
Actually, I think the config option needs to be: "{mynode, ['basho_bench@127.0.0.1']}." Daniel Reverri Client Architect Basho Technologies, Inc. d...@basho.com On Wed, Mar 20, 2013 at 12:12 PM, Kevin Burton wrote: > I am not sure what 'freenode' is. But I have some time now. > > -Original

Re: Getting basho_bench to work.

2013-03-20 Thread Dan Reverri
', longnames]} > > ? > > > On Wed, Mar 20, 2013 at 8:20 PM, Kevin Burton wrote: > >> That changed the error message but I am still not getting started. >> >> ** ** >> >> *From:* Dan Reverri [mailto:d...@basho.com] >> *Sent:* We

Re: Getting basho_bench to work.

2013-03-20 Thread Dan Reverri
1 mins. > > ** ** > > Shouldn’t I see some kind of results? I only see that it ran with no > errors. Are the results of the run put somewhere else? > > ** ** > > *From:* Kevin Burton [mailto:rkevinbur...@charter.net] > *Sent:* Wednesday, March 20, 2013 2:29 PM >

Re: Riak CS : "405 (Method Not Allowed)" when creating a bucket

2013-03-22 Thread Dan Reverri
Hi Jean-Baptiste, Can you try updating the "host_base" and "host_bucket" in s3cfg to use "riakcs.dev" which is the "cs_root_host" configured in your Riak CS app.config? host_base = riakcs.dev host_bucket = %(bucket)s.riakcs.dev Thanks, Dan Daniel Rev

Re: combining Riak (CS) and Spark/shark by speaking over s3 protocol

2013-07-30 Thread Dan Kerrigan
ak if only because of the overhead incurred by Riak CS. The benefits of Riak generally carry over to Riak CS so there shouldn't be any need to worry about losing raw power. Respectfully - Dan Kerrigan On Tue, Jul 30, 2013 at 2:21 PM, gbrits wrote: > This may be totally missing the mark

Re: combining Riak (CS) and Spark/shark by speaking over s3 protocol

2013-07-31 Thread Dan Kerrigan
l objects, Riak looks like the right choice otherwise, go with Riak CS. Some basic testing would go a long way to find the balance in your case. Respectfully - Dan Kerrigan [0] http://docs.basho.com/riak/latest/ops/building/planning/bitcask/ [1] http://docs.basho.com/riak/latest/community/faqs

Re: redundant writers

2011-02-15 Thread Dan Reverri
appropriate value per key using vector clocks. More information about vector clocks is available here: http://blog.basho.com/2010/01/29/why-vector-clocks-are-easy/ http://blog.basho.com/2010/04/05/why-vector-clocks-are-hard/ Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d

Re: Inconsistent data when a node goes down

2011-02-28 Thread Dan Reverri
t and will not wait for the third vnode to respond. Bug 992 has been opened to investigate improving this behavior: https://issues.basho.com/show_bug.cgi?id=992 Let me know if that makes sense. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Feb 28, 2

Re: riak make fail

2011-03-02 Thread Dan Reverri
Hi Shariq, You can ignore this particular error message; the build will still work. Are you seeing any other error messages? Is the build not working on your system? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Mar 2, 2011 at 5:03 AM

Re: riak make fail

2011-03-03 Thread Dan Reverri
lution for mac os x: sudo port install erlang +ssl" Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 3, 2011 at 2:08 AM, Mohammad Shariq wrote: > I have installed libssl-dev > and 'Erlang R13B04' is already installed. >

Re: riak make fail

2011-03-03 Thread Dan Reverri
I've added this issue to the knowledge base: http://help.basho.com/entries/470729-why-does-riak-fail-to-build-with-a-strange-error-about-crypto <https://help.basho.com/entries/470729-why-does-riak-fail-to-build-with-a-strange-error-about-crypto>Thank you, Dan Daniel Reverri Develop

Re: riak make fail

2011-03-03 Thread Dan Reverri
-Erlang.html Thanks, Dan <http://www.erlang-solutions.com/section/72/packages> Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 3, 2011 at 11:28 AM, Les Mikesell wrote: > On 3/3/2011 11:00 AM, Dan Reverri wrote: > >> I've added this issu

Re: Deciphering Key Filter Errors

2011-03-03 Thread Dan Reverri
error: 3> string:tokens("helloworld", "-"). ["helloworld"] 4> lists:nth(2, ["helloworld"]). ** exception error: no function clause matching lists:nth(1,[]) It seems Riak should catch errors during the filtering process and discard keys that cause errors. I wi

Re: Deciphering Key Filter Errors

2011-03-03 Thread Dan Reverri
A bug has already been filed for this issue: https://issues.basho.com/show_bug.cgi?id=1002 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 3, 2011 at 12:19 PM, Dan Reverri wrote: > Hi Jason, > > I'm able to reproduce the issue w

Re: Deciphering Key Filter Errors

2011-03-03 Thread Dan Reverri
Hi Jason, I was able to reproduce the bad_json error and have filed bug 1034: https://issues.basho.com/show_bug.cgi?id=1034 Thank you, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 3, 2011 at 12:32 PM, Jason J. W. Williams < jasonjwwi

Re: generating an object key in the erlang client

2011-03-11 Thread Dan Reverri
reference for generating unique keys: https://github.com/basho/riak_core/blob/master/src/riak_core_util.erl#L131 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 10, 2011 at 10:37 PM, Saurabh Sehgal wrote: > Hi, > > I was going throu

Re: map reduce cache issue

2011-03-14 Thread Dan Reverri
Hi Gordon, Erlang map phases are cached but I am not sure what issue you are referencing. There is an issue with the cache not pruning correctly which would apply to Erlang functions: https://issues.basho.com/show_bug.cgi?id=969 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
Hi Jason, Yes, a link phase can be used after a key filter. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Mar 9, 2011 at 5:34 PM, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrote: > Is it possible to add a link phase when

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
What does your map reduce query look like? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Mar 14, 2011 at 11:54 AM, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrote: > The reason I ask, is when I add a link walk phase (with buck

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
uot;neq", "foo"]] }, "query":[ {"link":{}}, {"reduce":{"language":"erlang","module":"riak_kv_mapreduce", "function":"reduce_set_union"}} ] } Thanks, Dan Daniel Reverri Developer Advocat

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
Hi Jason, I've filed bug 1043 for this issue: https://issues.basho.com/show_bug.cgi?id=1043 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Mar 14, 2011 at 1:40 PM, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrote: > On Mon

Re: generating an object key in the erlang client

2011-03-15 Thread Dan Reverri
rrect. Either the driver itself or the application code needs to >> generate a key. >> >> Sean Cribbs >> Developer Advocate >> Basho Technologies, Inc. >> http://basho.com/ >> >> On Mar 12, 2011, at 1:14 AM, Joshua Partogi wrote: >> >> &g

Re: RiakSearch 14.0 All Gets/Puts Timing out on a single node system.

2011-03-16 Thread Dan Reverri
Hi JT, Are there any error messages in your Riak Search log files? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Mar 15, 2011 at 5:13 PM, J T wrote: > Hi, > > I was running an older version of riak (v12) for a while and recently >

Re: too_many_results in riak-search

2011-03-16 Thread Dan Reverri
https://wiki.basho.com/Riak-Search---Querying.html#Querying-Integrated-with-Map-Reduce Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com 2011/3/4 Jan Schütze > Hello, > > today I noticed that riak-search has a limit on 100.000 results for a > query (

Re: RiakSearch 14.0 All Gets/Puts Timing out on a single node system.

2011-03-16 Thread Dan Reverri
quot;rel/vars.config". Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Mar 16, 2011 at 10:40 AM, J T wrote: > Unfortunately not, the log files are suspiciously quiet .. but I'm > reasonably certain that I'm looking in the ri

Re: Error on riakc_pb_socket:put()

2011-03-16 Thread Dan Reverri
Looks like you are using the wrong port number; "8091" is for HTTP. Try "8081" to connect to the "dev1" node. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Mar 16, 2011 at 10:22 PM, Saurabh Sehgal wrote: > Hi, &

Re: Multiple disks

2011-03-27 Thread Dan Reverri
quot;, "w", "dw", or "rw" setting of the request. Handoff would not occur in this scenario. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Mar 23, 2011 at 5:58 PM, Joseph Blomstedt wrote: > > Sorry, I don&

Re: Any way to use node.js as map/reduce worker?

2011-03-29 Thread Dan Reverri
Hi Eric, No, node.js cannot be used as a map/reduce worker. Unrelated to Riak there are a few Erlang based projects you might find interesting: https://github.com/blog/531-introducing-bert-and-bert-rpc http://beamjs.org/ Thank you, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc

Re: Inconsistent map/reduce results

2011-03-31 Thread Dan Reverri
Hi Keith, The cache entry parameter name changed in 0.14 to "map_cache_size". Setting this parameter to 0 will disable the cache. Regarding the empty MapReduce results, I'll try to reproduce the issue locally and narrow down the cause. Thanks, Dan Daniel Reverri Developer

Re: Inconsistent map/reduce results

2011-03-31 Thread Dan Reverri
). Is there anything obvious I am missing? I'm running the script multiple times against different buckets: for (( i=0; i<=10; i++ )); do ./test.sh $i; done Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 31, 2011 at 9:20 AM, Dan

Re: Banging head against wall with erlang pb client

2011-03-31 Thread Dan Reverri
ang-client/blob/master/src/riakc_pb.erl#L311 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Mar 31, 2011 at 3:58 PM, Jon Brisbin wrote: > I know I'm doing something obvious wrong, but I can't seem to make this: > > {

Re: Bitcask node won't restart

2011-04-01 Thread Dan Reverri
run "riak-admin status" on all three nodes? Also, can you send in the log files for node 2 (the entire log directory would be great)? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Apr 1, 2011 at 1:57 PM, Keith Dreibelbis wrote: > Hi r

Re: Bitcask node won't restart

2011-04-01 Thread Dan Reverri
ie(). % the console will output the cookie here Let me know what those commands output. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Apr 1, 2011 at 2:34 PM, Keith Dreibelbis wrote: > Thanks for the response, Dan. Yes, the problem is that it

Re: Has-A vs Links-To

2011-04-03 Thread Dan Reverri
Can you describe a bit more what you are trying to model? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Apr 1, 2011 at 2:40 PM, Mike Oxford wrote: > In Riak design, with a given bucket of "subscribers" would it be better to > u

Re: Error in compiling riak search 0.14.0 on MacOS X

2011-04-05 Thread Dan Reverri
What version of Erlang are you using? The 0.14.0 version of Riak Search 0.14.0 is not compatible with R14B02; it should be built with R13B04. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Apr 5, 2011 at 7:51 AM, Joshua Partogi wrote: > Hi, &g

Re: Error in compiling riak search 0.14.0 on MacOS X

2011-04-05 Thread Dan Reverri
Riak KV 0.14 does not support Erlang R14B02 but the master branch on github does. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Apr 5, 2011 at 7:27 PM, Joshua Partogi wrote: > Thanks Dan, > > I will try re-compiling again with erla

Re: Python client: Error while using Protocol Buffer Interface

2011-04-07 Thread Dan Reverri
The protocol buffers API operates over a different port. Check the app.config file of each Riak node for the pb_port parameter to find out what port each node is listening on. You'll need to update your HAProxy config to load balance the pb_ports. Thanks, Dan Daniel Reverri Developer Adv

Re: Slow inserts

2011-04-11 Thread Dan Reverri
Can you explain what you mean by "Four of the nodes were not doing anything else"? Does "riak-admin status" show the appropriate nodes in the ring? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Apr 11, 2011 at 9:00 AM, Jens

Re: Slow inserts

2011-04-11 Thread Dan Reverri
What are the put_fsm timings across the nodes as reported by "riak-admin status" after running the script? node_put_fsm_time_mean node_put_fsm_time_median node_put_fsm_time_95 node_put_fsm_time_99 node_put_fsm_time_100 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologi

Re: [newbie] riak performance - basics

2011-04-13 Thread Dan Reverri
Hi MH, Are there any errors in the Riak logs? I am wondering if some of those requests are failing, possibly due to an open file handle limit: https://wiki.basho.com/Open-Files-Limit.html Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Apr 13

Re: RiakSearch question

2011-04-13 Thread Dan Reverri
Hi Muhammad, How did you build the three node cluster? What repo did you use? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Apr 13, 2011 at 9:04 AM, Muhammad Yousaf wrote: > > Hi, > > I have set my schema using riak search. Now i

Re: RiakSearch question

2011-04-13 Thread Dan Reverri
:25 AM, Muhammad Yousaf wrote: > Dan, > > I build it by following the instruction from the following link > http://wiki.basho.com/Building-a-Development-Environment.html > > > Regards, > > Muhammad Yousaf > > > > > -- >

Re: Build from source following tutorial

2011-04-15 Thread Dan Reverri
I just got this error when trying to build the latest version of master using Erlang R13B04 (installed from source) on OS X. Building with Erlang R14B02 works. Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Apr 15, 2011 at 10:19 AM, Andrew Thompson wrote: > O

Re: This sure looks like a bug...?

2011-04-18 Thread Dan Reverri
Object1 with no vector clock the vector clock on the write becomes: [{Client1, 1}] This vector clock is considered stale since the existing vector clock already has two updates from Client1. This is the behavior you are seeing. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...

Re: search-cmd set-schema issue

2011-04-18 Thread Dan Reverri
Hi Muhammad, Does the format of p.txt match the expected schema format? https://wiki.basho.com/Riak-Search---Schema.html#Defining-a-Schema Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Apr 18, 2011 at 6:04 PM, Muhammad Yousaf wrote: > &

Re: Why is the Riak Native Client EDOC available ?

2011-04-24 Thread Dan Reverri
Hi Jason, Riak Search queries can be submitted as MapReduce jobs: https://wiki.basho.com/Riak-Search---Querying.html#Querying-Integrated-with-Map-Reduce Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Sun, Apr 24, 2011 at 2:51 PM, J T wrote: >

Re: Riak shutdown during heavy load testing

2011-05-01 Thread Dan Reverri
Hi Wilson, The error message you posted indicates the list keys operation is timing out. The list keys operation is an expensive operation and should only be used during development or for diagnostic purposes. It should not be used during a load test. > Thanks, > Dan > Danie

Re: Can't start riaksearch

2011-05-10 Thread Dan Reverri
27;ve filed a bug to investigate this issue further: https://issues.basho.com/show_bug.cgi?id=1096 Thanks, Dan * *Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, May 9, 2011 at 12:29 PM, Greg Pascale wrote: > Hi, > > I seem to have wrangled riaksea

Re: Riak Search "And" Queries inconsistency with Lucene

2011-05-14 Thread Dan Reverri
Hi Tejus, The boolean operators must be capitalized (AND, OR, NOT). If you retry your searches with "AND" they will return the expected results. Also, thank you for the very well put together examples. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@bash

Re: Link-Walking + Replication Factor

2011-05-20 Thread Dan Reverri
Hi André, You are correct; there is an issue with link walking when N=1. Bug #975 has been filed to address this issue: https://issues.basho.com/show_bug.cgi?id=975 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, May 20, 2011 at 4:12 AM, André

Re: riaksearch memory growth issues

2011-05-27 Thread Dan Reverri
What are the steps to reproduce the issue? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, May 27, 2011 at 6:44 PM, Gordon Tillman wrote: > Gilbert I will do that and post the results. Have restarted the cluster > but it is really e

Re: riak not starting, Reason: {badmatch,already_exists}

2011-05-31 Thread Dan Reverri
Hi David, Can you check to see if you have any beam processes running (perhaps another Riak instance)? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, May 31, 2011 at 9:17 AM, David Mitchell wrote: > Hi, one of the riak nodes is not starting.

Re: riak not starting, Reason: {badmatch,already_exists}

2011-05-31 Thread Dan Reverri
(the exact command)? Can you provide the full set of log files from the node? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, May 31, 2011 at 11:14 AM, David Mitchell wrote: > Hi Dan, > > > > There are no other beam processes running

Re: riak not starting, Reason: {badmatch,already_exists}

2011-05-31 Thread Dan Reverri
http://wiki.basho.com/Rolling-Upgrades.html Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, May 31, 2011 at 12:03 PM, David Mitchell wrote: > Hi Dan, > > > > Yes, it has been built from source, and it was running. > > > >

Re: about nodeup and down

2011-06-01 Thread Dan Reverri
The node watched in riak_core is responsible for this behavior: https://github.com/basho/riak_core/blob/master/src/riak_core_node_watcher.erl <https://github.com/basho/riak_core/blob/master/src/riak_core_node_watcher.erl> Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies,

Re: Best practice for using erlang modules in riak?

2011-06-02 Thread Dan Reverri
function(v){return [[v.values[0].data], [v.bucket, v.key]];}", :keep => true).reduce(["my_module","my_function"], :keep => true).to_json Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Jun 2, 2011 at 1:00 PM, Sylvain

Re: Pruning (merging) after storage reaches a certain size?

2011-06-13 Thread Dan Reverri
Hi Steve, This Knowledge Base article may be related: https://help.basho.com/entries/20141178-why-does-it-seem-that-bitcask-merging-is-only-triggered-when-a-riak-node-is-restarted Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Jun 13, 2011 at 10

Re: Pruning (merging) after storage reaches a certain size?

2011-06-13 Thread Dan Reverri
it will be considered during the merge check and merging will take place. The 2 GB file size is configurable via the max_file_size parameter: https://github.com/basho/bitcask/blob/master/ebin/bitcask.app#L22 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com

Re: Pruning (merging) after storage reaches a certain size?

2011-06-13 Thread Dan Reverri
merge will never be dynamically triggered. It is plausible that we could add some expiry-statistics measurement and triggering to bitcask, but today that's the state of things. You could manually trigger merges, but that currently requires a bit of Erlang. I hope that this helps. Thanks, D

Re: OpenStruct equivalent in Ripple

2011-06-17 Thread Dan Reverri
/master/server/lib/favorite_color/models/user_info.rb UserInfo is stored inside the Authorization model in Riak. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Jun 17, 2011 at 2:21 PM, Thomas Fee wrote: > Hello, Ripple users. > > One t

Re: Issue with erlang-riak-client put if_not_modified

2011-06-20 Thread Dan Reverri
Hi David, The options "if_not_modified" and "if_none_match" are not available in 0.14.2. They are currently only available on the master branch and will be released with the next major release. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@bas

Re: Riak crash on 0.14.2 riak_kv_stat terminating

2011-06-21 Thread Dan Reverri
Hi Jeremy, The flow_timeout error would not cause a node to crash. Supervisor and error reports are normal log entries and do not usually correspond to a node crash. Can you provide all the log files from the crashing node? Also, can you look for an erl_crash.dump file? Thanks, Dan Daniel

Re: Riak 0.14.* and Erlang 14B03

2011-06-30 Thread Dan Reverri
Hi Greg, Can you start the Riak console (riak console) and let us know what it outputs? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Jun 30, 2011 at 3:57 AM, Gregory Haskins wrote: > Hi Andrew > > On Wed, Jun 29, 2011 at 5:52 P

Re: No results provided by Riak search, another !

2011-07-05 Thread Dan Reverri
chema should be using the flattened field name. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Jul 5, 2011 at 7:05 AM, Germain Maurice < germain.maur...@linkfluence.net> wrote: > Hello everybody, > > I have a problem with Riak Search. I

Re: No results provided by Riak search, another !

2011-07-05 Thread Dan Reverri
Hi Germain, Did you change the fields to "dynamic_field" in the schema? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Jul 5, 2011 at 9:51 AM, Germain Maurice < germain.maur...@linkfluence.net> wrote: > ** > Thanks Dan, &g

Re: No results provided by Riak search, another !

2011-07-05 Thread Dan Reverri
You'll need to change the schema fields to "dymanic_field" in order to use wildcards (*). Can you update the schema and test the issue again? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Jul 5, 2011 at 2:13 PM, Germain Maurice

Re: riak-0.14.2 memory crash

2011-07-08 Thread Dan Reverri
a messages property. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Jul 8, 2011 at 5:03 PM, Sylvain Niles wrote: > Thanks Dan, very useful tool. Here's the big offender: > > Pid Name/Spawned as State Reductions

Re: RiakIORuntimeException

2011-07-13 Thread Dan Reverri
Hi Maria, The default port for the HTTP API is 8098; unless you changed app.config you may just need to change the port specified in your code. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Jul 13, 2011 at 10:43 AM, Russell Brown wrote: >

Re: How to add Riak Search index to DB from Erlang?

2011-07-25 Thread Dan Reverri
On Mon, Jul 25, 2011 at 7:43 AM, Dimitry D wrote: > Hello. > > I have quite simple questions, but I cannot find answers: > > 1. How to add to existing bucket Riak Search index? As far as I understood > "/search-cmd install " only adds pre-commit hooks and do not create > index for existing data.

Re: riak backup error

2011-08-05 Thread Dan Reverri
Hi Raghwani, The last argument to the backup command should be "node" or "all": dev2/bin/riak-admin backup dev2@172.16.1.128 riak /tmp/riakbk.txt n ode Let me know if that works for you. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com

Re: Running riak on SunOS

2011-08-10 Thread Dan Reverri
Hi Robert, Is a "log/sasl-error.log" file generated? Can you also try "riak console" and let us know what is output? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Aug 10, 2011 at 6:49 AM, Robert Leftwich wrote: > I&#x

Re: Running riak on SunOS

2011-08-10 Thread Dan Reverri
Hi Robert, No, that error can be ignored. Do the files "/opt/riak/etc/app.config" and "/opt/riak/etc/vm.args" exist? What are the permissions on the "/opt/riak" directories, specifically "data" and "log"? Thanks, Dan Daniel Reverri Develope

Re: Access log file

2011-08-10 Thread Dan Reverri
Hi Craig, Did you add the "http_logdir" option to the "riak_core" section? A pastie of your app.config might help as well. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Aug 9, 2011 at 6:40 PM, Craig Muth wrote: > I a

Re: Running riak on SunOS

2011-08-10 Thread Dan Reverri
Unless you are running Riak as root the permissions on those directories should be changed. The package installed version should create a riak user and run Riak as the riak user. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Aug 10, 2011 at 3:00

Re: Access log file

2011-08-10 Thread Dan Reverri
g 10 16:00 access.log.2011_08_10_23 -rw-r--r-- 1 dreverri staff0 Aug 10 17:00 access.log.2011_08_11_00 -rw-r--r-- 1 dreverri staff0 Aug 10 18:00 access.log.2011_08_11_01 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Aug 10, 2011 at 6:20

Re: Access log file

2011-08-11 Thread Dan Reverri
Hi Craig, There is no option to log the request or response body. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Aug 10, 2011 at 6:50 PM, Craig Muth wrote: >> separate section rather than included in the riak_kv section > Ah, th

Re: Storing as erlang-binary/term, reading as json.

2011-08-11 Thread Dan Reverri
fc2616/rfc2616-sec10.html#sec10.4.7 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Aug 11, 2011 at 1:32 PM, Jonathan Langevin < jlange...@loomlearning.com> wrote: > I believe the Accept parameter is intended only for the ability to list

Re: Riak Bitcask merging

2011-08-22 Thread Dan Reverri
to a specified window of time: http://wiki.basho.com/Bitcask-Configuration.html#Merge-Window Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Sun, Aug 21, 2011 at 11:36 PM, raghwani sohil wrote: > > Hi All, > > Is there any way to run bitcas

Re: Riak Recap for August 19 - 21

2011-08-25 Thread Dan Reverri
Hi TJ, The bucket properties are stored in the ring. The bucket properties stay in the ring even if the bucket is empty. There is no way at the moment to remove custom bucket properties from the ring. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu

Re: object not stored

2011-08-31 Thread Dan Reverri
Hi Giancarlo, Can you fetch the object through the PB interface? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Aug 31, 2011 at 8:45 AM, Mark Steele wrote: > I would think that one of the following would work: > > Make your n_val =

Re: changing bucket default settings

2011-09-01 Thread Dan Reverri
What does your app.config file look like? Can you provide a pastie/gist of it? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Sep 1, 2011 at 7:48 AM, Giancarlo Frison wrote: > Hi Alexander, > > I shutdown riak, delete data/ folder, ad

Re: Question from a noob about link walking

2011-09-12 Thread Dan Reverri
Hi Antonio, Links only work in one direction so it is not possible to find the items that link to an object. You would need to apply links on both sides of the relationship. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com 2011/9/12 Antonio Fernández Vara

Re: Ideal Backend for keys that frequently get overwritten

2011-09-14 Thread Dan Reverri
://help.basho.com/entries/20141178-why-does-it-seem-that-bitcask-merging-is-only-triggered-when-a-riak-node-is-restarted Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Sep 14, 2011 at 8:49 AM, Jeremy Raymond wrote: > If I'm reading the docs c

Re: Ideal Backend for keys that frequently get overwritten

2011-09-14 Thread Dan Reverri
ny of the thresholds it will be included in the merge process. The small_file_threshold means that any inactive data file that is less than 10MB will be included in the merge process. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Sep 14, 2011 a

Re: Riak indexing issue with PBClient

2011-09-20 Thread Dan Reverri
How are you determining that the "accountid" field is not being indexed? Do you have a short code snippet that shows how you are submitting the data with the Java client? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Sep 20, 2011

Re: pre3 and pre4 build issue

2011-09-20 Thread Dan Reverri
Hi TJ, Thank you for reporting this issue. We have a bug filed for this issue and are working on a resolution: https://issues.basho.com/show_bug.cgi?id=1195 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Sep 20, 2011 at 8:05 AM, TJ Ninneman wrote

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Dan Reverri
e search precommit hook it will be inserted at the beginning of the precommit list * If the "precommit" property does include the search precommit hook it will be left in it's defined location Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Dan Reverri
On Wed, Sep 21, 2011 at 11:47 AM, Dan Reverri wrote: > Hi Greg, > > The "install" command has been removed from "search-cmd". The new strategy > is as follows: > * The "search" bucket property must be "true" in order for the search > pre

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Dan Reverri
One more correction, the "install" command is not being removed. The "install" command simply sets the "search" property to true. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Sep 21, 2011 at 12:01 PM, Dan Reverri

Re: Performance Issues with LevelDB Backend on 1.0.0RC1

2011-09-26 Thread Dan Reverri
Hi Patrick, Did you restart Riak after changing the configuration option in app.config? Also, where in the config file did you add the option? Would it be possible to see your app.config file? How many of the file descriptors listed by lsof reference the "data/leveldb" directory? T

  1   2   3   >