store in riak, calculate with spark and feedback to riak

2015-09-21 Thread Julio Cesar Ríos Gutierrez
How can I use my bucket from riak into spark and calculate from my script with scala and feedback with results to another bucket, results like "MatrixFactorizationModel" from "ALS". -- JCesar ___ riak-users mailing list riak-users@lists.basho.com http:/

Re: Issues with spark

2015-08-05 Thread Julio Cesar Ríos Gutierrez
sorry, I mean ALS (Alternating Least Square) with spark 2015-08-04 14:56 GMT-05:00 Julio Cesar Ríos Gutierrez : > Hi, I want to save in riak doing > some calculus with ALS, > and query for give some suggestions, > > How can I do that? > thanks in advanced > > >

Issues with spark

2015-08-04 Thread Julio Cesar Ríos Gutierrez
Hi, I want to save in riak doing some calculus with ALS, and query for give some suggestions, How can I do that? thanks in advanced -- JCesar ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lis

Hi, I got a problem with links.

2013-10-07 Thread Julio Cesar Ríos Gutierrez
I had stored object in first place, but now I want to link to another object, and At this phase, It got an error when, I try to get metatada: {ok, RiakObj} = riakc_pb_socket:get(RiakPid, Bucket, Key), Meta = riakc_object:get_metadata( RiakObj ) this is the error: _Reason = {undef,

Re: riak-users Digest, Vol 42, Issue 12

2013-01-09 Thread Julio Cesar Ríos Gutierrez
sorry, for the previuos message. I do not describe my problem. this is my problem. in the to_pdf function do not arrive name_file with value, arrive empty, and after process_post, It process "init" again, why this happend? io:format(Name_File), %%Print empty string but in this line I do this.

Re: riak-users Digest, Vol 42, Issue 11

2013-01-09 Thread Julio Cesar Ríos Gutierrez
I have some trouble with processing "post" 1. -module(rptPedidos_resource). 2. -export([init/1, allowed_methods/2, process_post/2]). 3. -export([content_types_provided/2,to_pdf/2]). 4. 5. -record ( context, {root, name_file } ). 6. 7. -include_lib("webmachine/include/webmachi

I can't show a pdf from webmachine

2012-12-14 Thread Julio Cesar Ríos Gutierrez
My source do not show a pdf in my page everything else is fine, This is the source code: == -module(rptPedidos_resource). -export([init/1, allowed_methods/2, process_post/2]). -export([content_types_provided/2]). -export([to_json/2, jso

riaksearch-admin js_loaded doesn't work

2012-03-06 Thread Julio Cesar Ríos Gutierrez
I tried "riaksearch-admin js_reload", but I am still getting messages mixed with older code of javascript, in my map and reduce functions, any idea how update javascript function code?, I have riaksearch-0.14.2 -- JCesar ___ riak-users mailing list riak

split app and riak

2012-01-19 Thread Julio Cesar Ríos Gutierrez
I have my app and riak in the same machine, what I want is separate my app in one machine and riak in other machine. I did this : {http, [ {ip_host, 8098 } ]}, in my app.config, -name riak@ip_host, in my vm.args where ip_host is my ip direction in the riak's machine. riaksearch start also riak

One question

2012-01-17 Thread Julio Cesar Ríos Gutierrez
I tried to run this : import riak client = riak.RiakClient ( port = 8087, transport_class = riak.RiakPbcTransport ) query = client.search ( "bucket_name", "descripcion:CICLOS AND SOLUCIO" ) for r in query.run(): s = r.get().get_data() print s['descripcion'] but nothing happen, why?

Re: riak-users Digest, Vol 30, Issue 27

2012-01-17 Thread Julio Cesar Ríos Gutierrez
I tried to run this : "query = client.search ( "bucket_name", "descripcion:CICLOS AND SOLUCIO" ), but nothing happen, why? ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

TypeError: Unicode bucket name are not supported

2012-01-11 Thread Julio Cesar Ríos Gutierrez
I have this code but this has a Error: TypeError: Unicode bucket name are not supported, Why happen this? import csv import json import riak client = riak.RiakClient ( ) search_query = client.search ( 'medicinas','descripcion:A' ) for result in search_query.run ( ): clave = result.get ( )