-What is the best way to verify flume agent is running?
Mike Keane 2013-09-04, 19:02
I've modified servers to log directly to a flume collector agent by
rpcClient.appendBatch(...). I want to modify the server applications to
verify the collector agent is running immediately at start up and exit
if there is no flume collector agent to log to. Is the best way to do
this to simply RpcClientFactory.getDefaultInstance(hostname, port) and
if no FlumeException thrown proceed?
This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole use
of the intended recipient(s). Any disclosure, copying, distribution,
posting, or use of the information contained in or attached to this
email is prohibited unless permitted by the sender. If you have
received this email in error, please immediately notify the sender
via return email, telephone, or fax and destroy this original transmission
and its included files without reading or saving it in any manner.