jubactl¶
Synopsis¶
jubactl [options ...]
Description¶
jubactl is a command to manage server processes in distributed environment.
Options¶
[]indicates the default value.<zookeeper_list>is a comma-separated list ofhost:portof ZooKeeper servers (e.g.,10.0.0.1:2181,10.0.0.2:2181,10.0.0.3:2181). No spaces between values are allowed. If you have only one ZooKeeper server, just specifyhost:portwithout comma (e.g.,10.0.0.1:2181).
-
-c<command>,--cmd<command>¶ Send specified command to jubavisors registered to ZooKeeper.
<command>should be one of the following.Command Description start Start Jubatus servers stop Stop Jubatus servers save Save the model to directory specified by jubatus_server -dload Load the model from directory specified by jubatus_server -dstatus Print the status of servers, proxies and jubavisors
-
-s<program>,--server<program>¶ Executable file of the server program (e.g.,
jubaclassifier,jubarecommender, …).
-
-n<name>,--name<name>¶ The instance name, which is a value to uniquely identify a task in the ZooKeeper cluster.
-
-t<type>,--type<type>¶ Type of the server program (e.g.,
classifier,recommender, …).
-
-N<num>,--num<num>¶ Number of processes in the whole cluster.
Effective only when used with
--cmd start.When
0is specified, start 1 process on each jubavisor.
-
-z<zookeeper_list>,--zookeeper<zookeeper_list>¶ List of ZooKeeper server(s).
If not specified, environment variable
ZKwill be used.
-
-i<id>,--id<id>¶ ID of file name to save or load.
Effective only when used with
--cmd saveand--cmd load.If not specified, the value that specified by
--namewill be used.
-
-B<interface>,--listen_if<interface>¶ Option given when starting new server process (
jubatus_server -B).Effective only when used with
--cmd start.
-
-C<num>,--thread<num>¶ Option given when starting new server process (
jubatus_server -c).Effective only when used with
--cmd start.
-
-T<seconds>,--timeout<seconds>¶ Option given when starting new server process (
jubatus_server -t).Effective only when used with
--cmd start.
-
-D<dirpath>,--datadir<dirpath>¶ Option given when starting new server process (
jubatus_server -d).Effective only when used with
--cmd start.
-
-L<dirpath>,--logdir<dirpath>¶ Option given when starting new server process (
jubatus_server -l).Effective only when used with
--cmd start.
-
-G<log_config>,--log_config<log_config>¶ Option given when starting new server process (
jubatus_server -g).Effective only when used with
--cmd start.
-
-X<mixer>,--mixer<mixer>¶ Option given when starting new server process (
jubatus_server -x).Effective only when used with
--cmd start.
-
-S<seconds>,--interval_sec<seconds>¶ Option given when starting new server process (
jubatus_server -s).Effective only when used with
--cmd start.
-
-I<count>,--interval_count<count>¶ Option given when starting new server process (
jubatus_server -i).Effective only when used with
--cmd start.
-
-Z<seconds>,--zookeeper_timeout<seconds>¶ Option given when starting new server process (
jubatus_server -Z).Effective only when used with
--cmd start.
-
-R<seconds>,--interconnect_timeout<seconds>¶ Option given when starting new server process (
jubatus_server -I).Effective only when used with
--cmd start.
-
-d,--debug¶ This option is deprecated and is no longer be used.
-
-?,--help¶ Print the brief usage of the command.