Nancy Smith | 30 Aug 00:15 2014

RE: AWS Users

 

 

Hi,

 

Did you get a chance to review my email below?

 

Please let me know if you have any query regarding the same.

 

Regards,

Nancy Smith

 

From: Nancy Smith [mailto:nancy.smith <at> tecinfogalaxy.com]
Sent: Tuesday, July 08, 2014 2:46 PM
To: 'riak-users <at> lists.basho.com'
Subject: AWS Users

 

 

 

Hi,

 

Would you be interested in acquiring recently compiled and optin verified contacts of specific AWS solution implemented user accounts.

 

We can help you target accounts specific to app implemented like: Cloud Computing, Storage, Compute, Database, Application Services, Big Data, Networking, Content Delivery, Deployment etc.

 

We can also help you with database of users like:

 

  • Rackspaceusers

  • Savvis users

  • Google App users

  • CenturyLink users

  • Terremark users

  • Softlayer users

  • Coresite users

  • Citrix users

  • Tibco users and many more.

 

Let me know if you require any further details and if there is anything else we can help you with.

 

Let me know if we can set up a call to discuss further or you can send me an email with the information you are looking for.

 

Regards,

 

Nancy Smith

Technology list consultant

Demand generation team

 

 

 

If you don’t wish to receive any offer from us please feel free to reply to this email with “Leave Out”


Other Services that we provide include: market research, email appending, email campaigning, IT Profiling, etc…

 

_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Yang Zhenguo | 1 Sep 19:22 2014
Picon

How to do faceted search?

Hi,

I have a question on faceted search.

I am using riakc client for searching in riak. And I only what to get the facet of query, how to do that? I am trying the following command, but it returns "bad arg"

riakc_pb_socket:search(ClientPid, ?SOLUTION_INDEX, <<"name:a">>, [{facet, true}]).

Thanks in advance.
Regards,
--
Zhenguo Yang
www.prinbit.com
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Chaim Solomon | 1 Sep 09:29 2014

Issue with yz crashing

Hi,

I'm having a lot of these:

2014-09-01 03:26:56.512 [error] <0.6205.7> CRASH REPORT Process yz_events with 0 neighbours exited with reason: no match of right hand value {error,{ok,"500",[{"Cache-Control","no-cache, no-store"},{"Pragma","no-cache"},{"Expires","Sat, 01 Jan 2000 01:00:00 GMT"},{"Last-Modified","Mon, 01 Sep 2014 07:26:56 GMT"},{"ETag","\"148301c0731\""},{"Content-Type","application/json; charset=UTF-8"},{"Transfer-Encoding","chunked"}],<<"{\"responseHeader\":{\"status\":500,\"QTime\":693,\"params\":{\"facet\":\"on\",\"facet.mincount\":\"1\",\"q\":\"*:*\",\"facet.field\":\"_yz_pn\",\"wt\":\"json\"}},\"response\":{\"numFound\":3320547,\"start\":0,\"docs\":[{\"_yz_id\":\"1*default*linkme...">>}} in yokozuna:partition_list/1 line 100 in gen_server:terminate/6 line 744
2014-09-01 03:26:56.513 [error] <0.563.0> Supervisor yz_general_sup had child yz_events started with yz_events:start_link() at <0.6205.7> exit with reason no match of right hand value {error,{ok,"500",[{"Cache-Control","no-cache, no-store"},{"Pragma","no-cache"},{"Expires","Sat, 01 Jan 2000 01:00:00 GMT"},{"Last-Modified","Mon, 01 Sep 2014 07:26:56 GMT"},{"ETag","\"148301c0731\""},{"Content-Type","application/json; charset=UTF-8"},{"Transfer-Encoding","chunked"}],<<"{\"responseHeader\":{\"status\":500,\"QTime\":693,\"params\":{\"facet\":\"on\",\"facet.mincount\":\"1\",\"q\":\"*:*\",\"facet.field\":\"_yz_pn\",\"wt\":\"json\"}},\"response\":{\"numFound\":3320547,\"start\":0,\"docs\":[{\"_yz_id\":\"1*default*linkme...">>}} in yokozuna:partition_list/1 line 100 in context child_terminated
2014-09-01 03:27:18.382 [error] <0.6440.7> gen_server yz_events terminated with reason: no match of right hand value {error,{ok,"500",[{"Cache-Control","no-cache, no-store"},{"Pragma","no-cache"},{"Expires","Sat, 01 Jan 2000 01:00:00 GMT"},{"Last-Modified","Mon, 01 Sep 2014 07:27:18 GMT"},{"ETag","\"148301c5cab\""},{"Content-Type","application/json; charset=UTF-8"},{"Transfer-Encoding","chunked"}],<<"{\"responseHeader\":{\"status\":500,\"QTime\":15029,\"params\":{\"facet\":\"on\",\"facet.mincount\":\"1\",\"q\":\"*:*\",\"facet.field\":\"_yz_pn\",\"wt\":\"json\"}},\"response\":{\"numFound\":3320555,\"start\":0,\"docs\":[{\"_yz_id\":\"1*default*link...">>}} in yokozuna:partition_list/1 line 100
2014-09-01 03:27:18.384 [error] <0.6440.7> CRASH REPORT Process yz_events with 0 neighbours exited with reason: no match of right hand value {error,{ok,"500",[{"Cache-Control","no-cache, no-store"},{"Pragma","no-cache"},{"Expires","Sat, 01 Jan 2000 01:00:00 GMT"},{"Last-Modified","Mon, 01 Sep 2014 07:27:18 GMT"},{"ETag","\"148301c5cab\""},{"Content-Type","application/json; charset=UTF-8"},{"Transfer-Encoding","chunked"}],<<"{\"responseHeader\":{\"status\":500,\"QTime\":15029,\"params\":{\"facet\":\"on\",\"facet.mincount\":\"1\",\"q\":\"*:*\",\"facet.field\":\"_yz_pn\",\"wt\":\"json\"}},\"response\":{\"numFound\":3320555,\"start\":0,\"docs\":[{\"_yz_id\":\"1*default*link...">>}} in yokozuna:partition_list/1 line 100 in gen_server:terminate/6 line 744
2014-09-01 03:27:18.385 [error] <0.563.0> Supervisor yz_general_sup had child yz_events started with yz_events:start_link() at <0.6440.7> exit with reason no match of right hand value {error,{ok,"500",[{"Cache-Control","no-cache, no-store"},{"Pragma","no-cache"},{"Expires","Sat, 01 Jan 2000 01:00:00 GMT"},{"Last-Modified","Mon, 01 Sep 2014 07:27:18 GMT"},{"ETag","\"148301c5cab\""},{"Content-Type","application/json; charset=UTF-8"},{"Transfer-Encoding","chunked"}],<<"{\"responseHeader\":{\"status\":500,\"QTime\":15029,\"params\":{\"facet\":\"on\",\"facet.mincount\":\"1\",\"q\":\"*:*\",\"facet.field\":\"_yz_pn\",\"wt\":\"json\"}},\"response\":{\"numFound\":3320555,\"start\":0,\"docs\":[{\"_yz_id\":\"1*default*link...">>}} in yokozuna:partition_list/1 line 100 in context child_terminated

What does that mean and what can I do about it?

Chaim Solomon

_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Yang Zhenguo | 31 Aug 20:50 2014
Picon

How to design schema for record search.

Hi all,

I have a question on record search.

First, the value of my bucket is record.

#solution{
        user_id = LoginId,
        problem_id = ProblemId,
        language = Language
}.

Secondly, got riakc_obj
RSolution = riakc_obj:new(SolutionBucket, SolutionKey, Solution)

Finally,
riakc_pb_socket:put(ClientPid, RSolution1)

Howevery, I cant search it via the following command:
riakc_pb_socket:search(Pid, <<"sln_index">>, <<"language:*">>).

Any suggestion?

BTW, I can get the following result:
10> riakc_pb_socket:search(Pid, <<"sln_index">>, <<"*:*">>).
{ok,{search_results,[{<<"sln_index">>,
                      [{<<"score">>,<<"1.00000000000000000000e+00">>},
                       {<<"_yz_rb">>,<<"Solutions_a">>},
                       {<<"_yz_rt">>,<<"solution_t">>},
                       {<<"_yz_rk">>,<<"yang_20140901T02:38:17">>},
                       {<<"_yz_id">>,
                        <<"1*solution_t*Solutions_a*yang_20140901T02:38:17*48">>}]}],

Thanks in advance.

--
Zhenguo Yang
www.prinbit.com
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Yang Zhenguo | 31 Aug 19:32 2014
Picon

Can not list search_index after creating it succeed

Hi all,

I encounter a problem on search index.

1. riakc_pb_socket:create_search_schema(Pid, <<"solutions">>, SchemaData).
ok
2. riakc_pb_socket:create_search_index(Pid, <<"sln_index">>, <<"solutions">>, []).
ok
3. riakc_pb_socket:list_search_indexes(Pid1).
{ok,[]}

However, if I create search index with default schema "_yz_default", everything will be okay.

Thanks in advance.

Attached my schema:

<?xml version="1.0" encoding="UTF-8" ?>
<schema name="sln_schema" version="1.5">
 <fields>
   <field name="user_id"   type="string"  indexed="true" stored="true" />
   <field name="status"    type="string"  indexed="true" stored="true" />
   <field name="submit_time" type="date" indexed="true" stored="true" />
   <field name="run_time" type="date" indexed="true" stored="true" />

   <!-- catch-all field -->
   <dynamicField name="*" type="ignored" />
  
   <!-- All of these fields are required by Riak Search -->
   <field name="_yz_id"   type="_yz_str" indexed="true" stored="true"  multiValued="false" required="true"/>
   <field name="_yz_ed"   type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_pn"   type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_fpn"  type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_vtag" type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_rk"   type="_yz_str" indexed="true" stored="true"  multiValued="false"/>
   <field name="_yz_rt"   type="_yz_str" indexed="true" stored="true"  multiValued="false"/>
   <field name="_yz_rb"   type="_yz_str" indexed="true" stored="true"  multiValued="false"/>
   <field name="_yz_err"  type="_yz_str" indexed="true" stored="false" multiValued="false"/>
 </fields>

 <uniqueKey>_yz_id</uniqueKey>

 <types>
    <!-- YZ String: Used for non-analyzed fields -->
    <fieldType name="_yz_str" class="solr.StrField" sortMissingLast="true" />
 </types>
</schema>

--
Zhenguo Yang
www.prinbit.com
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Yang Zhenguo | 31 Aug 11:26 2014
Picon

Riak crash after starting

My steps are as follows:
1. sudo riak start
2. run erl evn
{ok, Pid} =  riakc_pb_socket:start_link("127.0.0.1", 8087).
riakc_pb_socket:list_buckets(Pid).

After about 30 seconds, the riak will stop(crash)

Riak version is 2.0. Atached part of log.
BTW, I have another web server cowboy running for handling http request.

Thanks in advance

Zhenguo

======================================================
error.log
2014-08-31 17:14:05.974 [error] <0.287.0> {mochiweb_socket_server,310,{acceptor_error,{error,accept_failed}}}
2014-08-31 17:14:06.075 [error] <0.287.0> {mochiweb_socket_server,310,{acceptor_error,{error,accept_failed}}}
2014-08-31 17:14:06.847 [error] <0.3769.0> gen_server yz_events terminated with reason: no match of right hand value {error,emfile} in yz_schema:get/1 line 45
2014-08-31 17:14:06.847 [error] <0.3769.0> CRASH REPORT Process yz_events with 0 neighbours exited with reason: no match of right hand value {error,emfile} in yz_schema:get/1 line 45 in gen_server:terminate/6 line 744
2014-08-31 17:14:06.848 [error] <0.533.0> Supervisor yz_general_sup had child yz_events started with yz_events:start_link() at <0.3769.0> exit with reason no match of right hand value {error,emfile} in yz_schema:get/1 line 45 in context child_terminated
2014-08-31 17:14:06.848 [error] <0.533.0> Supervisor yz_general_sup had child yz_events started with yz_events:start_link() at <0.3769.0> exit with reason reached_max_restart_intensity in context shutdown
2014-08-31 17:14:06.869 [error] <0.530.0> Supervisor yz_sup had child yz_general_sup started with yz_general_sup:start_link() at <0.533.0> exit with reason shutdown in context child_terminated
2014-08-31 17:14:06.869 [error] <0.530.0> Supervisor yz_sup had child yz_general_sup started with yz_general_sup:start_link() at <0.533.0> exit with reason reached_max_restart_intensity in context shutdown

crash.log
2014-08-31 17:14:06 =SUPERVISOR REPORT====
     Supervisor: {local,yz_general_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.3769.0>},{name,yz_events},{mfargs,{yz_events,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2014-08-31 17:14:06 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    child_terminated
     Reason:     shutdown
     Offender:   [{pid,<0.533.0>},{name,yz_general_sup},{mfargs,{yz_general_sup,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]

2014-08-31 17:14:06 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.533.0>},{name,yz_general_sup},{mfargs,{yz_general_sup,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]

_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
lloyd | 29 Aug 19:08 2014

Buckets

Hello,

Is there a practical limit to the number of buckets defined in a given Riak installation?

E.g.: I could have a bucket called people with records for each person. Or, I could have a bucket for each
person with records related to that person. But clearly, in the second case, the number of buckets could
get quite large.

Thanks,

LRP
Spiro N | 29 Aug 17:12 2014

First Time Post, am I in the right place for this Post

Hello, I love the idea of an s3 alternative and was wondering if there was anyway to use my s3 acces and secret keys with riak-cs. I tried substituting my keys for the generated ones in both riak-cs and stanchion app.config files to no avail.

Thanks for any help you can provide, and if I posted in the wrong place place please point me in the right direction.

Kindly


Spiro

    This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system.
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Alex De la rosa | 29 Aug 16:54 2014
Picon

Riak VS Graph Databases

Hi there,

For some time already I have in mind building a kind of social network myself. Is pretty ambitious project although it doesn't have in mind to be a new facebook; but still data will be quite big and complex.

I like Riak and I had been following since version 0.14, and new additions in Riak 2.0 seem to help a lot in how to model the data; although relationships will be unavoidable.

Some friends suggested me to use Graph Databases instead. How would Riak compare to Graph Databases for this use case? Is it doable to create a social network entirely from Riak? Or may not be recommended?

Thanks!
Alex
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Bryan | 29 Aug 04:18 2014
Picon

Riak Secondary Index Limits

Hi Everyone,

Apologies as this has probably been asked before. Unfortunately I have not been able to parse through the list serve to find a reasonable answer and the Basho wiki docs seem to be missing this information. I have read up on the secondary index docs.

I am interested to better understand how the secondary indexes perform when there is a very low distribution of values that are indexed. For example, lets say I have a bucket with 1 million objects that I create a secondary index on. Now lets say the index is on a value that has an uneven distribution where one of the values is not selective while the others are, such that 60% of the values fall into a single indexed value, while the remaining 40% have a good distribution.

For example, I have a record (i.e. object) where the indexed field is ‘foobar_bin'. I have 1 million objects in the bucket that have 100 unique ‘foobar’ values distributed over the 1 million objects. One of the values repeats for 60% of the records (600K) and the rest have an even distribution of about 4%.

How will the secondary indexes perform with this and is this an appropriate use of the secondary indexes? Finally, what I have 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 Hughes
Go Factory
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Alex De la rosa | 28 Aug 23:47 2014
Picon

Custom data-types

Hi there,

Correct me if I'm wrong, but I think I read somewhere that custom data-types can be created through schemas or something like that. So, apart from COUNTERS, SETS and MAPS we could have some custom defined ones.

I would love to have a STACKS data-type that would work like a FIFO stack, so I could save the last 100 objects for some action. Imagine we are building Twitter where millions of tweets are sent all the time, but we want to quickly know the last 100 tweets for a user. Imagine something like:

obj.stacks['last_tweets'].add(id_of_last_tweet)

IN: last_tweet ---> STACK_OF_100_TWEETS ---> OUT: older than the 100th goes out

Is this possible? If so, how to do it?

Thanks and Best Regards,
Alex
_______________________________________________
riak-users mailing list
riak-users <at> lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Gmane