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:/
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
>
>
>
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
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,
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.
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
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
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
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
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?
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
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 ( )
12 matches
Mail list logo