Riak“make devrel”错误:处理时生成失败

时间:2014-01-04 23:41:22

标签: build riak

我正在尝试按照教程http://docs.basho.com/riak/latest/quickstart/进行操作,但无法通过“make devrel”步骤。它以错误结束,dev /目录为空 - 它应该包含东西。

确切的命令是

make devrel DEVNODES=4 

并在bash shell中显示以下内容:

...previous stuff cut...
mkdir -p dev
rel/gen_dev dev1 rel/vars/dev_vars.config.src rel/vars/dev1_vars.config
Generating dev1 - node='dev1@127.0.0.1' pbc=10017 http=10018 handoff=10019
(cd rel && ../rebar generate target_dir=../dev/dev1 overlay_vars=vars/dev1_vars.config)
==> rel (generate)
ERROR: generate failed while processing /home/darenw/DataScience/SW/Riak/riak-1.4.6/rel: {'EXIT',
{undef,
    [{reltool,start_server,
         [[{sys,
               [{lib_dirs,["../deps","../deps/riak_search/apps"]},
                {rel,"riak","1.4.6",
                    [kernel,stdlib,lager,sasl,public_key,ssl,riak_sysmon,
                     os_mon,crypto,runtime_tools,erlang_js,mochiweb,
                     webmachine,basho_stats,bitcask,riak_core,riak_pipe,
                     riak_kv,riak_search,riak_api,cluster_info,
                     riak_control,erlydtl,
                     {folsom,load}]},
                {rel,"start_clean",[],[kernel,stdlib]},
                {boot_rel,"riak"},
                {profile,embedded},
                {excl_sys_filters,
                    ["^bin/.*","^erts.*/bin/(dialyzer|typer)"]},
                {excl_archive_filters,[".*"]},
                {app,cluster_info,[{incl_cond,include}]},
                {app,erlang_js,[{incl_cond,include}]},
                {app,ebloom,[]},
                {app,riaknostic,[{incl_cond,include}]},
                {app,bitcask,[{incl_cond,include}]},
                {app,riak_core,[{incl_cond,include}]},
                {app,riak_pipe,[{incl_cond,include}]},
                {app,riak_kv,[{incl_cond,include}]},
                {app,riak_search,[{incl_cond,include}]},
                {app,eper,[{incl_cond,include}]},
                {app,sasl,[{incl_cond,include}]},
                {app,syslog,[{incl_cond,include}]},
                {app,lager_syslog,[{incl_cond,include}]},
                {app,lager,[{incl_cond,include}]},
                {app,riak_control,[{incl_cond,include}]},
                {app,riak_api,[{incl_cond,include}]},
                {app,folsom,[{incl_cond,include}]}]}]]},
     {rebar_reltool,generate,2},
     {rebar_core,run_modules,4},
     {rebar_core,execute,5},
     {rebar_core,process_dir1,6},
     {rebar_core,process_commands,2},
     {rebar,main,1},
     {escript,run,2}]}}
make: *** [dev1] Error 1

我对Erlang或Riak一无所知。我有Riak 1.4.6的源代码并且拥有Erlang R14B04,但是没有兴趣整天用它来实现它。如何建立“devrel”?

BTW我确实看到了Creating riak nodes: bitcask version clash的问题,但这似乎与Fedora软件包和“bitcask”有关,而且无论如何都是一个不同的错误。

1 个答案:

答案 0 :(得分:1)

添加Brian Roach的评论,最好使用以下项目来设置测试集群https://github.com/basho/vagrant-riak-cluster。你将避免从源头构建的所有陷阱带来它。

如果任何Basho开发人员正在阅读,也许最好不要弃用DevRel文档。我最近建立了一些Riak集群,而不是一次我发现这些文档很有帮助。