Creating riak nodes: bitcask version clash

筅森魡賤 提交于 2019-12-25 04:53:09

问题


I have installed riak on a Fedora 17 system (but not using the package manager) by following the standard instructions, i.e.:

$ wget http://downloads.basho.com.s3-website-us-east-1.amazonaws.com/riak/1.2/1.2.1/riak-1.2.1.tar.gz
$ tar zxvf riak-1.2.1.tar.gz
$ cd riak-1.2.1
$ make all

This worked and I now tried to create four nodes as described in the Fast Track tutorial:

$ make devrel

This runs for a while and then produces the error below:

==> rel (generate)
ERROR: generate failed while processing /space/surechem/riak-1.2.1/rel: {'EXIT',{{badmatch,{error,"bitcask: Application version clash. Multiple directories contains version \"1.5.2\"."}},
     [{rebar_reltool,generate,2,[]},
      {rebar_core,run_modules,4,[]},
      {rebar_core,execute,4,[]},
      {rebar_core,process_dir,4,[]},
      {rebar_core,process_commands,2,[]},
      {rebar,main,1,[]},
      {escript,run,2,[{file,"escript.erl"},{line,741}]},
      {escript,start,1,[{file,"escript.erl"},{line,277}]}]}}
make: *** [dev1] Error 1

I have difficulties understanding what that error message is trying to tell me.

Is this a version conflict with bitcask? The Fedora package erlang-bitcask is installed on the machine (erlang-bitcask-1.5.2-1.fc17.x86_64). Should it be removed? Do I need a different version of it?


回答1:


Indeed this seems to be caused by conflicts with Erlang packages installed in the system. After removing the erlang-bitcask package from the system, I got similar error messages for other packages. In the end I had to remove four packages,

$ sudo yum remove erlang-bitcask erlang-ebloom erlang-js erlang-luke

to get it to work.



来源:https://stackoverflow.com/questions/14639600/creating-riak-nodes-bitcask-version-clash

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!