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

Re: Getting basho_bench to work.

2013-03-20 Thread Dan Reverri
The error indicates that the basho_bench erlang node failed to start net_kernel because the node name was invalid. It looks like the "basho_bench_measurement_erlangvm" module is looking for a "mynode" config option to set the name during net_kernel start. Can you try adding "{mynode, 'basho_bench@

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 Reverri Client Architect Basho Technologies, In

Re: redundant writers

2011-02-15 Thread Dan Reverri
Riak maintains a single value per key and provides mechanisms (vector clocks) to detect/resolve conflicting values. In the proposed use case the multiple copies would overwrite each other and Riak, by default, would return a single value for a requested key. Behind the scenes Riak determines the a

Re: Inconsistent data when a node goes down

2011-02-28 Thread Dan Reverri
Hi Luca, For any request Riak will ask 3 vnodes for an object's value (assuming N=3). If a majority of vnodes return "not found", Riak will return "not found" to the client. When a node is taken down other nodes can act as a fallback for that node. When a fallback node takes over for a primary nod

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, Mohammad

Re: riak make fail

2011-03-03 Thread Dan Reverri
s >>>> > fatal: Not a git repository (or any of the parent directories): .git >>>> > fatal: Not a git repository (or any of the parent directories): .git >>>> > fatal: Not a git repository (or any of the parent directories): .git >>>> > Uncaught error in rebar_

Re: riak make fail

2011-03-03 Thread Dan Reverri
ar 3, 2011, at 12:40 AM, Mohammad Shariq wrote: >>>>>> >>>>>> > Below is the Error Message : >>>>>> > >>>>>> > shariq@shariq-box:/mnt/riak-0.14.0$ sudo make rel >>>>>> > fatal: Not a git repository (o

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
Hi Jason, I'm able to reproduce the issue when the keys I am filtering do not contain the token. For example, if my token is "-" and my key is "helloworld" the tokens for that key become: ["helloworld"] Grabbing the second element of that list returns an error: 3> string:tokens("helloworld", "-")

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
the key data, where as > supplying just a reduce function won't do that. So I'm in a bit of a > conundrum about how to preformat the output without issuing a map, > since the formatting I want to do is splitting the key name. Thank you > for your help. > > -J > > On T

Re: generating an object key in the erlang client

2011-03-11 Thread Dan Reverri
Hi Saurabh, The protocols buffers interface does not currently support server side generated keys. Bug 485 has been filed for this issue: https://issues.basho.com/show_bug.cgi?id=485 In the mean time you can generate a unique key on the client side. You can use the code on the server side as a re

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, I

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 using key filter

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
et set to the > data bucket), my key filter MapReduce errors out: > > https://gist.github.com/869640 > > The key filters are: > > ["urldecode"], > ["tokenize", "/", "2], > ["eq", "test!"] > > Any help is grea

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
e Basho Technologies, Inc. d...@basho.com On Mon, Mar 14, 2011 at 11:58 AM, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrote: > No map phase. Reduce phase is the built-in "riak_kv_mapreduce", > "reduce_identity". I really appreciate the help. > > -J > > &

Re: Key filters + link walking

2011-03-14 Thread Dan Reverri
, Mar 14, 2011 at 2:01 PM, Dan Reverri wrote: > >> Hi Jason, >> >> The reduce_identity function expects a two element tuple or a two element >> list; you can see this by looking at the pattern matching in the function: >> >> https://github.com/basho/riak_kv/bl

Re: generating an object key in the erlang client

2011-03-15 Thread Dan Reverri
t; Hi Dan, >> > >> > I guess that also affects other driver that by default uses protobuf >> > [like the riak python driver] ? Does that mean the riak python driver >> > need to generate the unique key on the client side when it uses >> > protobuf? >>

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 > upgraded to r

Re: too_many_results in riak-search

2011-03-16 Thread Dan Reverri
Hi Jan, Riak Search is designed for full text search and works very well for that use case. The too_many_results limitation can difficult to handle if your query results have more than the configured max_search_results. I've filed a bug to investigate improving this behavior: https://issues.basho.

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

2011-03-16 Thread Dan Reverri
en redo the > *make rel* leading me to suspect that the values are actually compiled in > somewhere and not just read from a config file on startup. > > > On Wed, Mar 16, 2011 at 4:41 PM, Dan Reverri wrote: > >> Hi JT, >> >> Are there any error messages in your 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, > > I followed the tutorial on the w

Re: Multiple disks

2011-03-27 Thread Dan Reverri
Hi Joe, You observation regarding question 5 is correct. The coordinating FSM would attempt to send the request to the failed vnode and receive either an error or no reply. A request may still succeed if enough of the other vnodes respond; "enough" would be determined by the "r", "w", "dw", or "rw

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 Advocate Basho Technol

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
Hi Jon, The value for content-type should be a string. For custom meta data the client expects a proplist of custom headers under the <<"X-Riak-Meta">> key. Check out the following test to get an idea of what the metadata would look like: https://github.com/basho/riak-erlang-client/blob/master/sr

Re: Bitcask node won't restart

2011-04-01 Thread Dan Reverri
Hi Keith, The first set of errors you saw ("Protocol: ~p: register error: ~p~n") indicate an Erlang node was already running with this name; node 2 may have been running in the background without you realizing it. The second error which occurred when choosing a different name was probably due to

Re: Bitcask node won't restart

2011-04-01 Thread Dan Reverri
t;> > sys_process_count : 205 > sys_smp_support : true > sys_system_version : <<"Erlang R14B01 (erts-5.8.2) [source] [64-bit] > [smp:2:2] [rq:2] [async-threads:64] [hipe] [kernel-poll:true]">> > sys_system_architecture : <<"i386-apple-darwin10.7.0">

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 > use the bucket as a

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, > > I

Re: Error in compiling riak search 0.14.0 on MacOS X

2011-04-05 Thread Dan Reverri
ng R13B04. Does this only > affect riak search and not riak KV? > > Kind regards, > Joshua. > > On Wed, Apr 6, 2011 at 12:54 AM, Dan Reverri wrote: > > What version of Erlang are you using? The 0.14.0 version of Riak Search > > 0.14.0 is not compatible with R14B02; it

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 Advocate Bas

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 Rantil wrote: > Hi,

Re: Slow inserts

2011-04-11 Thread Dan Reverri
ers > according to [1]. > > [1] <http://wiki.basho.com/Basic-Cluster-Setup.html> > http://wiki.basho.com/Basic-Cluster-Setup.html > > Thanks, > Jens > > On 11 apr 2011, at 18:57, "Dan Reverri" wrote: > > Can you explain what you mean by "Four of the nodes wer

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, 2011

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 want to test it

Re: RiakSearch question

2011-04-13 Thread Dan Reverri
You need to use the Riak Search repo in place of the Riak repo if you are going to following those instructions: https://github.com/basho/riak_search Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Apr 13, 2011 at 9:25 AM,

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
Hi Bryan, This is an excellent question and one of the more difficult areas of Riak to understand. The source of confusion in this situation is vector clocks. Riak maintains a vector clock for every object which is used to track different versions of the object and potentially auto-repair out-of-s

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: > > Hi, > >

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: > Hi Mark

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 > Daniel Reverri > Develop

Re: Can't start riaksearch

2011-05-10 Thread Dan Reverri
Try deleting the following folder and starting Riak Search again: * /Users/greg/gitclients/clipboard/deps/builds/riak_search-0.14.0/data/mr_queue * * * The mr_queue persists scheduled MapReduce jobs to disk but in this case the requests that started the MapReduce jobs have likely ended. I've filed

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...@basho.com On Sa

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é Silv

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 easy to reprodu

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. I a

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

2011-05-31 Thread Dan Reverri
. The only thing running that is > related to riak is “riak/erts-5.7.5/bin/epmd –daemon”. > > > > David > > > > > > > > *From:* Dan Reverri [mailto:d...@basho.com] > *Sent:* Tuesday, May 31, 2011 12:37 PM > *To:* David Mitchell > *Cc:* riak-us

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

2011-05-31 Thread Dan Reverri
will not start. > > > > Attached are the logs. > > > > Thank you for your help. > > > > David > > > > *From:* Dan Reverri [mailto:d...@basho.com] > *Sent:* Tuesday, May 31, 2011 2:38 PM > > *To:* David Mitchell > *Cc:* riak-users@lists.basho.com > *S

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 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...

Re: Best practice for using erlang modules in riak?

2011-06-02 Thread Dan Reverri
Have you tried submitting the map reduce job directly against the HTTP API using a tool like curl? You can get an idea of what the body should look like by outputting the JSON representation of the Ripple MapReduce object: puts Riak::MapReduce.new(Ripple.client).add(a-bucket').map("function(v){re

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:2

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

2011-06-13 Thread Dan Reverri
7;dead' data in them (aka, the tweets > expire after 1 day). > > > - Steve > > -- > Steve Webb - Senior System Administrator for gnip.com > http://twitter.com/GnipWebb > > On Mon, 13 Jun 2011, Dan Reverri wrote: > > Hi Steve, >> >> This Knowled

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

2011-06-13 Thread Dan Reverri
{max_file_size, 8000 }, > {expiry_secs, 86400} > ]}, > > - Steve > > -- > Steve Webb - Senior System Administrator for gnip.com > http://twitter.com/GnipWebb > > On Mon, 13 Jun 2011, Dan Reverri wrote: > > Hi Steve, >> >> The

Re: OpenStruct equivalent in Ripple

2011-06-17 Thread Dan Reverri
You can use Ripple::EmbeddedDocument to achieve something similar. Here is a sample model, Authorization, that embeds UserInfo as an association: https://github.com/dreverri/favorite_color/blob/master/server/lib/favorite_color/models/authorization.rb https://github.com/dreverri/favorite_color/blob/

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...@basho.com On Mon, Jun 20

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 Reverr

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 PM, Andrew Thompso

Re: No results provided by Riak search, another !

2011-07-05 Thread Dan Reverri
Hi Germain, It looks like your document has nested fields which means the schema you have defined won't match the fields produced by the pre-commit hook. The pre-commit hook flattens JSON documents using an underscore ("_") between nested fields (e.g. fans_**data_nsid); your schema should be using

Re: No results provided by Riak search, another !

2011-07-05 Thread Dan Reverri
> {"props":{"precommit":[{"fun":"precommit","mod":"riak_search_kv_hook"}]...} > > Le 05/07/11 18:27, Dan Reverri a écrit : > > Hi Germain, > > It looks like your document has nested fields which means the schem

Re: No results provided by Riak search, another !

2011-07-05 Thread Dan Reverri
< germain.maur...@linkfluence.net> wrote: > ** > Hi Dan, > > No, i didn't change it. > > > Le 05/07/11 19:17, Dan Reverri a écrit : > > Hi Germain, > > Did you change the fields to "dynamic_field" in the schema? > > Thanks, > Dan >

Re: riak-0.14.2 memory crash

2011-07-08 Thread Dan Reverri
The Stack+heap for that process is only ~0.17 GB which isn't that much. Are you sorting the process list by Reductions or Stack+heap? Regarding the messages in queue, I think you should be able to explore each Pid and look at it's process dictionary. The process dictionary will have a messages pro

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: > Hi Mar

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 On Wed, Aug 3, 2011

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'm having problems running riak

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 Developer Advocate Basho Technologies, Inc. d...@basho.com On

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 added {http_logdir, "log/acce

Re: Running riak on SunOS

2011-08-10 Thread Dan Reverri
PM, Robert Leftwich wrote: > On Wed, 10 Aug 2011 14:53 -0700, "Dan Reverri" wrote: > > > > Do the files "/opt/riak/etc/app.config" and "/opt/riak/etc/vm.args" > > exist? > > Yes. > > > What are the permissions on the "/opt/riak

Re: Access log file

2011-08-10 Thread Dan Reverri
?  What is > the name of the log file that's supposed to appear? > Thanks, > --Craig > > > > > On Wed, Aug 10, 2011 at 3:01 PM, Dan Reverri wrote: >> >> Hi Craig, >> Did you add the "http_logdir" option to the "riak_core" sec

Re: Access log file

2011-08-11 Thread Dan Reverri
at was my problem, thanks.  It's a bit subtle > on http://wiki.basho.com/Configuration-Files.html what the "riak_kv" label > applies to. > The log is very helpful.  Any way to have it include the body of the post > and/or what was returned? > --Craig > > On Wed

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

2011-08-11 Thread Dan Reverri
The Accept header indicates what content-type your client is able to handle. When you specify "application/json" in the Accept header you are telling Riak to return the object if it's content-type is "application/json" otherwise return 406. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec

Re: Riak Bitcask merging

2011-08-22 Thread Dan Reverri
There is no way to manually trigger a Bticask merge. What's the use case for needing to manually trigger the merge? Are you concerned about the size of the data files? Are you trying to avoid merging at a particular time? Not sure if this will help but you can restrict Bitcask merging to a specifi

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 = 1 on the buck

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, add default se

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
Hi Jeremy, The max_file_size parameter controls when Bitcask will close the currently active data file and start a new data file. The active data file will not be considered when determining if a merge should occur. The default max_file_size is 2GBs. This means that each partition in the system ca

Re: Ideal Backend for keys that frequently get overwritten

2011-09-14 Thread Dan Reverri
t 9:50 AM, Jeremy Raymond wrote: > Ok, thanks I'll give that a try. > > What does small_file_threshold do then? > > - Jeremy > > > > On Wed, Sep 14, 2011 at 12:48 PM, Dan Reverri wrote: > >> Hi Jeremy, >> >> The max_file_size parameter controls when

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 at 4:39 AM, vijay

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
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 precommit to be executed * If the "precommit" property does NOT include the search precommit hook it will be inserted at the begi

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? Thanks, Dan Dan

Re: Keyspace question

2011-09-29 Thread Dan Reverri
Hi Mike, Listing buckets does the same full scan as listing keys. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Sep 29, 2011 at 9:11 AM, Mike Oxford wrote: > Bucket+Key gives us the flattened Key for a value > Bucket+Key2 gives us another Key f

Re: empty sibling after a DELETE then PUT

2011-10-06 Thread Dan Reverri
There should be an "X-Riak-Deleted" header in the tombstoned object. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Oct 6, 2011 at 10:14 AM, Eric Moritz wrote: > It seems to me that occasional tombstone siblings may occur in the case > where two c

Re: vnode crashes with "{badmatch,{error,enoent}}"

2011-10-14 Thread Dan Reverri
Can you try adding "platform_data_dir" to "riak_core"? I think the following will work in your case: node[:riak][:core][:platform_data_dir] = "/mnt/riak" Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Oct 14, 2011 at 4:24 PM, Spike Gronim wrote:

Re: Unable to access solr port.

2011-10-20 Thread Dan Reverri
Hi Roberto, Can you try appending '/select' after the bucket name? For example: curl "http://localhost:8098/solr/books/select?start=0&rows=1&q=prog*"; I found the above query in the Riak Search documentation here: http://wiki.basho.com/Riak-Search---Querying.html Thanks, Dan Daniel Reverri

Re: secondary indexes: how to know the saved indexes for a key?

2011-10-21 Thread Dan Reverri
The indexes will be returned as headers in the response. Check the response for the "x-riak-index-categroy_bin" header. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Oct 20, 2011 at 9:43 PM, Antonio Rohman Fernandez < roh...@mahalostudio.com> wrot

Re: Riak 1.0

2011-10-21 Thread Dan Reverri
Hi Jim, Can you check "ring_num_partitions" on each node from "riak-admin status"? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com 2011/10/20 Jim Adler > I tried the Bitcask-to-LevelDB procedure on 1.0.1 to switch my backend from > Bitcask to LevelDB. I

Re: Riak 1.0

2011-10-21 Thread Dan Reverri
..@basho.com On Fri, Oct 21, 2011 at 9:30 AM, wrote: > 64 on the LevelDB vs 256 on the Bitcask. I guess that’s it. Workaround? > > > ** ** > > Thanks, > > Jim > > ** ** > > *From:* Dan Reverri [mailto:d...@basho.com] > *Sent:* Friday, Octobe

Re: Ripple document NoMethodError: undefined method `all' for Customer:Class

2011-10-27 Thread Dan Reverri
Hi Eric, I believe the method was changed to `list`; I don't know what version of Ripple changed the method name. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Oct 27, 2011 at 8:59 AM, Eric Chaves wrote: > Hi Guys, > > I'm trying to learn Riak

Re: Question: {error,{error,insufficient_vnodes_available}}

2011-11-28 Thread Dan Reverri
Hi Walter, Have you made any changes to your configuration recently such as changing the "-name" parameter in vm.args? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Nov 28, 2011 at 1:04 AM, Chung-Hung (Walter) Tsai < waltert...@gmail.com> wrote:

Re: Question: {error,{error,insufficient_vnodes_available}}

2011-11-29 Thread Dan Reverri
her vnodes to join. > When I launch "riak-admin", it shows something like " ... 100% ... > riak@MY-IP-ADDRESS" > > > Thanks, > Walter > > 2011/11/29 Dan Reverri : > > Hi Walter, > > Have you made any changes to your configuration recently such as chan

  1   2   3   >