rzezeski / try-try-try Goto Github PK
View Code? Open in Web Editor NEWRyan Zezeski's "working" blog
Ryan Zezeski's "working" blog
riak_core register webmachine before you and it do application:set_env(webmachine, dispatch_lis,....t) before you and this value never overides see webmachine_mochiweb.erl:
application_set_unless_env(App, Var, Value) ->
Current = application:get_all_env(App),
CurrentKeys = proplists:get_keys(Current),
case lists:member(Var, CurrentKeys) of
true ->
ok;
false ->
application:set_env(App, Var, Value)
end.
Installed r14b03. Attempted two version of rebar:
rebar version: 2 date: 20110823_173019 vcs: git 1dcf0d1
rebar version: 2 date: 20110929_215853 vcs: git 0279cb2
I followed your instructions up to 'make rel', then tried mfnm console:
jammer:mfmn tadr$ ./rel/mfmn/bin/mfmn console
Exec: /Users/tadr/code/riak-examples/mfmn/rel/mfmn/erts-5.8.4/bin/erlexec -boot /Users/tadr/code/riak-examples/mfmn/rel/mfmn/releases/1/mfmn -embedded -config /Users/tadr/code/riak-examples/mfmn/rel/mfmn/etc/app.config -args_file /Users/tadr/code/riak-examples/mfmn/rel/mfmn/etc/vm.args -- console
Root: /Users/tadr/code/riak-examples/mfmn/rel/mfmn
{error_logger,{{2011,11,3},{22,34,5}},"Protocol: ~p: register error: pn",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}
{error_logger,{{2011,11,3},{22,34,5}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.256>,<0.17.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,445}],[]]}
{error_logger,{{2011,11,3},{22,34,5}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['[email protected]',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2011,11,3},{22,34,5}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2011,11,3},{22,34,5}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
erl_crash.dump is here:
Without executing the above steps rebar won't be able to find the riak_core_multinode template (can I configure rebar to look in other dirs for templates?). If you don't have rebar don't worry, we'll get to that. Next, make a directory to house your new multinode capable Riak Core application.
You can also create a .templates
directory in the root of the application directory.
Hi,
I was trying to follow the blog posts. I just started to read them but it seemed to me like they are depend the information on previous posts and only way to tell which one comes first is to check meta field. Maybe it would be possible to give readers a hint about their order so users can read them in order (an order number or month of the day they are written etc.)
Note: (I also would like to use this opportunity for thanking you for the information you are provided in this blog. It is very hard for newcomers to pass the learning curve for riak-core and your blog is one of the best source that I could find.)
There seems to be a mistake in your latest Article "riak-search-inline-fields", each basho_bench config only points at 3 nodes.
{riaksearch_remotenodes,
['[email protected]', '[email protected]', '[email protected]', '[email protected]']}.
Not sure how that effects Test Result but looked like a mistake to me. Located in naive.config, scoped_filter.config, scoped.config.
Anyways, ...
Great Article, thanks for sharing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.