Hi Matthew,

Thanks for pointing this out. I'm going to bring it up for discussion
internally. At this point your best bet would be to manually edit the init
scripts on machines running more than one service to create dependencies to
prevent this issue. For instance, you can edit the riak init script to
check for the existence of the riak-cs init script and, if present, run
"/etc/init.d/riak-cs stop" to stop Riak CS before Riak.

--
Luke Bakken
CSE
[email protected]


On Wed, Jun 25, 2014 at 5:45 PM, Matthew Hall <[email protected]> wrote:

> Hello,
>
> I'm using recent versions of Riak on CentOS 6.5 and I ran into some issues
> which are similar to these ones reported on Debian:
>
> https://github.com/basho/riak_cs/issues/718
>
> In my case, instead of having problems during startup, I get problems
> during
> shutdown, because for some reason riak and stanchion are shutting down
> before
> riak-cs. It causes very long timeouts of 30-60+ seconds or more every time
> you
> try to reboot the machine involved.
>
> So I wanted to ask how I could modify the scripts or dependency ordering
> manually, on the local system, to prevent this problem, even if it can't be
> done globally due to the "all parts of Riak can go on arbitrary nodes"
> issue
> mentioned in the bug above.
>
> Thanks,
> Matthew.
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to