Riak "make devrel" ERROR: generate failed while processing
我正在尝试按照教程 http://docs.basho.com/riak/latest/quickstart/ 进行操作,但无法通过"make devrel"步骤。它以错误结尾,并且 dev/ 目录为空 - 它应该包含东西。
确切的命令是
1 | make devrel DEVNODES=4 |
并且在 bash shell 中会喷出以下内容:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | ...previous stuff cut... mkdir -p dev rel/gen_dev dev1 rel/vars/dev_vars.config.src rel/vars/dev1_vars.config Generating dev1 - node='[email protected]' 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"?
顺便说一句,我确实看到了创建 riak 节点:bitcask 版本冲突的问题,但这似乎是关于 Fedora 软件包和"bitcask"的一些问题,并且无论如何都是关于不同的错误。
添加到 Brian Roach 的评论中,最好使用以下项目来设置测试集群,https://github.com/basho/vagrant-riak-cluster。您将避免从源代码构建带来的所有陷阱。
如果有任何 Basho 开发倡导者正在阅读,也许最好弃用 DevRel 文档。我最近建立了一些 Riak 集群,但我没有一次发现这些文档有帮助。