Details
Description
The /etc/init.d/flume-ng-node init script currently passes this option:
--name <hostname>
...to /usr/bin/flume-ng, but the option needs to be a constant name, "agent" (literally, w/o quotes), like this:
--name agent
The reason is because Flume NG currently can't properly parse a dot-separated hostname because dots are used as namepace delimiters. So instead we should probably hardcode it to the name "agent" as the default name of the agent (while still retaining the ability to specify a different node by specifying the FLUME_NODE_NAME).
Thank you.