Created 01-14-2016 02:54 PM
Can I run different version of Flume with different classpath on same host?
Created 01-14-2016 05:22 PM
@Roman Sydorov I haven't tried but I don't see any reason why not. You can start each Flume version with the command below, just create separate conf directories and set respective classpaths in flume-env.sh. Each one can run multiple agents and each agent will run as a separate process. However, from Ambari you can start and manage only one Flume version specified by default in /etc/flume/conf.
/usr/hdp/current/flume-server/bin/flume-ng agent -c /etc/flume/conf -f /etc/flume/conf/flume.conf -n agent
Created 01-14-2016 02:58 PM
Please see this "
It is possible to run multiple Flume agents on the same host
Created 01-17-2016 12:37 AM
It may not be possible to manage mulitple versions with ambari.
An agent is started using a shell script called flume-ng which is located in the bin directory of the Flume distribution. You need to specify the agent name, the config directory, and the config file on the command line:
$ bin/flume-ng agent -n $agent_name -c conf -f conf/flume-conf.properties.template
Now the agent will start running source and sinks configured in the given properties file.
Created 01-14-2016 05:22 PM
@Roman Sydorov I haven't tried but I don't see any reason why not. You can start each Flume version with the command below, just create separate conf directories and set respective classpaths in flume-env.sh. Each one can run multiple agents and each agent will run as a separate process. However, from Ambari you can start and manage only one Flume version specified by default in /etc/flume/conf.
/usr/hdp/current/flume-server/bin/flume-ng agent -c /etc/flume/conf -f /etc/flume/conf/flume.conf -n agent
Created 01-15-2016 08:03 PM
Ambari run each agent in new process. It split single configuration (on ambari screen) to multiple folders (per agent) on the node
Created 01-17-2016 02:21 AM
@Michael M thanks for clarification. @Roman Sydorov Please see my edited answer above.