|
RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
|
#include <HaServiceProtocolImpl.h>
Public Member Functions | |
| HaServiceTranslator (RPCServer *server_arg, zkclient::ZkNnClient *zk_arg, int port_arg) | |
| std::string | transitionToActive (std::string) |
| std::string | transitionToStandby (std::string) |
| std::string | getServiceStatus (std::string) |
| std::string | monitorHealth (std::string input) |
The translator receives the rpc parameters from rpcserver. It then processes the message and does whatever is necessary, returing a serializes protobuff.
It communicates with zookeeper to construct the namespace and communicate with datanode
1.8.6