Closed dongwooklee96 closed 2 years ago
@dongwooklee96 there will be unstable changes at the head of develop. You might want to try checking out the latest release on tag riak-3.0.9 👍🏻
Also, just to point out, not sure if it was because you were testing, but you shouldn't need to execute the riak-admin script directly, it can be invoked using the main riak bin script, like so dev/dev1/riak/bin/riak admin cluster join dev1@127.0.0.1
@martincox thank you for your reply! but I got another error while configuring
Failed to fetch and copy dep: {git,"git://github.com/basho/canola.git", {ref, "2cd39378442f3dc727de22289243b3c4d56f25fd"}}
Ah, this is because github have deprecated the use of the git:// protocol, which some dependencies used in the last release (spill over legacy stuff). To overcome this, you can set git config, like so git config --global url."https://github".insteadOf git://github
I can build now thank you! but I still got the same problem in branch riak-3.0.9
git checkout
make devrel
dev/dev1/riak/bin/riak start
dev/dev2/riak/bin/riak start
dev/dev3/riak/bin/riak start
dev/dev2/riak/bin/riak-admin cluster join dev1@127.0.0.1
Try with no hyphen between riak admin
.
👍🏻 dev/dev1/riak/bin/riak admin cluster join dev1@127.0.0.1
👎🏻 dev/dev1/riak/bin/riak-admin cluster join dev1@127.0.0.1
Out of curiosity, what docs have you referred to? A change was put out some time ago, where the commands move from riak-admin
to riak admin
(confusing, I know). Wondering what docs need updating to make it clear.
It works now. you're my hero thank you :smile:
I'm reading this book seven-database-weeks but it seems hasn't been revised. or maybe I have an old version.
That makes sense, it probably references a pre 3.* release of riak 👍🏻
hi, I cloned source code from develop branch from now on. and do
make devrel
.and I started
dev1
,dev2
,dev3
node then I executed./riak-admin cluster join dev1@127.0.0.1
I got an error like below.Who can solve this problem?