Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to start multiple flume agents in ambari?

Solved Go to solution

How to start multiple flume agents in ambari?

Expert Contributor

I am trying to start multiple flume agents from abmari, but have not found how to do that. I understand that it is possible to do from command line, but I want to have ambari monitoring.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to start multiple flume agents in ambari?

Expert Contributor

Just put everything to single config.

Like

Agent1.sources..
Agent1.sinks..
Agent1.channels..

Agent2.sources..
Agent2.sinks..
Agent2.channels..

Note, is possible to manage those agent separately (ambari will split them) and each one will run in a separate process

3 REPLIES 3

Re: How to start multiple flume agents in ambari?

AFAIK you can create multiple flume agent configurations on different nodes uses host groups. You can also merge config files in one agent together but I don't think there is any way to manage multiple flume agents on the same host in ambari.

Re: How to start multiple flume agents in ambari?

Expert Contributor

Just put everything to single config.

Like

Agent1.sources..
Agent1.sinks..
Agent1.channels..

Agent2.sources..
Agent2.sinks..
Agent2.channels..

Note, is possible to manage those agent separately (ambari will split them) and each one will run in a separate process

Re: How to start multiple flume agents in ambari?

Expert Contributor

Great! Thanks!