Skip to content

Conversation

@martinsumner
Copy link
Contributor

Some riak admin scripts require an erlang node to be started, and then connected to the riak node (rather than using rpc).

These scripts don't work in 3.0.1.

$ERTS_PATH and $NAME_PARAM are not defined (as was previously defined in node_package);
boot file - cannot find start.boot only start_clean.boot (for reasons unknown);
observer not an installed application

These changes work with OTP 20.3, OTP 21.3 and OTP 22.3. Tested using:

make rel
rel/riak/bin/riak start
rel/riak/bin/riak admin top

Some riak admin scripts require an erlang node to be started, and then connected to the riak node (rather than using rpc).

These scripts don't work in 3.0.1.

$ERTS_PATH and $NAME_PARAM are not defined (as was previously defined in node_package);
boot file - cannot find start.boot only start_clean.boot (for reasons unknown);
observer not an installed application

These changes work with OTP 20.3, OTP 21.3 and OTP 22.3.  Tested using:

`make rel`
`rel/riak/bin/riak start`
`rel/riak/bin/riak admin top`
There was a special formatetr for etop packaged within riak top.

This may have been visually more appealing?

However, going forward want to take advantage of mainstream OTP improvements not rely on bespoke formatter.

May not have been working anyway.
Copy link
Contributor

@Bob-The-Marauder Bob-The-Marauder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested by building a package on CentOS 7. Works fine as far as I can tell. riak admin top came up correctly (riak top isn't configured but we can live without that). I was pleased to notice that other functions such as riak admin test also work now.

@martinsumner martinsumner merged commit 95bb247 into develop-3.0 Jan 5, 2021
@martinsumner martinsumner deleted the mas-i1048-erlangnodescripts branch December 21, 2022 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants