Moving to HBase-user Hi Mathan,
Have a look at hbase-daemon.sh in $HBASE_HOME/bin. It wraps up the details necessary for building the java command used to start an HBase process (it also does some other house-cleaning like log rotation, which you probably also want). Use it to start and stop RegionServer and Master processes on your individual hosts. You'll probably need to wrap it or steal its logic for your own supervisord script. Actually, after reading a bit about supervisord, you may need to modify this script to support launching the process in the foreground. Have a look and let us know what you find. Thanks, Nick On Tue, Jan 7, 2014 at 6:00 AM, mathan kumar <[email protected]>wrote: > I am trying to control HBase using supervisord to start / stop methods so > that it would be easy to do these in browser instead of using scripts > within the machine by loggin in. > > I can able to start the HBase as a user using start-hbase.sh script, But > could not stop using the same in supervisord browser stop option. > > The reason is when supervisord starts the start-hbase.sh script HBase is > actually started as child process to start-hbase where supervisord does not > control any child process while stopping the process created by supervisord. > > Is there any other way to achieve this. > > -- > You received this message because you are subscribed to the Google Groups > "Phoenix HBase User" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. >
