Tag Archives: Administrate

Voldemort Simple Guide (4) —Administrate

5. Administrate

    5.1.        Start

    henry@ranch:~$ cd app/voldemort/

    bin/voldemort-server.sh config/single_node_cluster > /tmp/voldemort.log &

    output log:

    [2010-04-23 04:28:01,630 voldemort.server.VoldemortService] INFO Starting http-service

    [2010-04-23 04:28:01,714 voldemort.server.http.HttpService] INFO HTTP service started on port 8081

    [2010-04-23 04:28:01,714 voldemort.server.VoldemortService] INFO Starting socket-service

    [2010-04-23 04:28:01,714 voldemort.server.socket.SocketServer[socket-server]] INFO Starting voldemort socket server (socket-server) on port 6666

    [2010-04-23 04:28:01,720 voldemort.server.VoldemortService] INFO Starting rebalance-service

    [2010-04-23 04:28:01,721 voldemort.server.VoldemortService] INFO Starting socket-service

    [2010-04-23 04:28:01,721 voldemort.server.socket.SocketServer[admin-server]] INFO Starting voldemort socket server (admin-server) on port 6667

    [2010-04-23 04:28:01,726 voldemort.server.VoldemortService] INFO Starting jmx-service

    [2010-04-23 04:28:01,742 voldemort.server.jmx.JmxService] WARN Overwriting mbean voldemort.server.socket:type=SocketService

    [2010-04-23 04:28:01,747 voldemort.server.VoldemortServer] INFO Startup completed in 720 ms.

    http server :8081,socket server 6666,admin server 6667.

    5.2.        stop

    Voldemort-stop.sh

    5.3.        admin shell

    log in the admin shell

    ./voldemort-admin-shell.sh tcp://9.33.92.233:6666

    if want to check the data in the store

    fetch 0 test 0    //test is the store name

    0 is the node id ,

    test is the store name

    0 is the partition id.

    5.4.        tool  shell

    Use this shell can put and get