Thanks Sicular,

Supervisor riak_core_vnode_sup had child undefined started with 
riak_core_vnode:start_link() at undefined exit with reason 
{timeout,{gen_server,call,[<0.1164.0>,stop]}} in context shutdown_error...


trying to insert csv data of 434 MB onto 2 node riak cluster....iam getting the 
following error ..could you please share the reason for the same
...Thanks In advance .

Regards
Sangeetha

From: Alexander Sicular [mailto:[email protected]]
Sent: Thursday, July 12, 2012 11:30 AM
To: Pattabi Raman, Sangeetha (Cognizant)
Cc: [email protected]
Subject: Re: reg. storageon Localfile system


check your installations app.config file in the etc folder.

@siculars
http://siculars.posterous.com

Sent from my rotary phone.
On Jul 11, 2012 11:18 PM, 
<[email protected]<mailto:[email protected]>>
 wrote:



Hi team,

                Iam very new to riak ,can anyone say on loading onto riak db 2 
node cluster ...where does it puts the data on the Local file system.like we 
see on autosharding of mongodb or hadoop-hdfs over shards in the cluster mode 
....as in which of riak........................
FYI:
I use curl in loading the same

-module(time).
-export([starttime/0]).
-export([main/1]).
-export([format_and_insert/1]).
-export([endtime/0]).
starttime() ->
starttime = {{Year,Month,Day},{Hour,Min,Sec}} = erlang:localtime().
main([Filename]) ->
    {ok, Data} = file:read_file(Filename),
    Lines = tl(re:split(Data, "\r?\n", [{return, binary},trim])),
    lists:foreach(fun(L) -> LS = re:split(L, ","), format_and_insert(LS) end, 
Lines).

format_and_insert(Line) ->
    JSON = 
io_lib:format("{\"id\":\"~s\",\"phonenumber\":~s,\"callednumber\":~s,\"starttime\":~s,\"endtime\":~s,\"status\":~s}",
 Line),
    Command = io_lib:format("curl -X PUT http://10.232.5.169:8098/riak/goog1/~s 
-d '~s' -H 'content-type: application/json'", [hd(Line),JSON]),
    io:format("Inserting: ~s~n", [hd(Line)]),
    os:cmd(Command).


Thanks & regards
sangeetha

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.

_______________________________________________
riak-users mailing list
[email protected]<mailto:[email protected]>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to