I have a flume configuraton and following is the source configuraton.

agent1.sources.source1.type = exec 
agent1.sources.source1.command =tail -F /srv/logs/tracking_pv.log  |  
/usr/bin/python /srv/apps/apache-flume-1.4.0-cdh4.6.0-bin/conf/gettag.py -1 
agent1.sources.source1.shell = /bin/bash -c 
agent1.sources.source1.restart = true 
agent1.sources.source1.restartThrottle = 8000 
agent1.sources.source1.batchSize = 100

gettag.py will read a file which changed frequently.
How do I achieve this instead of restarting the flume process?



[email protected]

Reply via email to