Saturday, 15 March 2014

ubuntu - Getting 'checking flume.conf for changes' in a loop -


I am using Apache 1.4.0 to gather log files (auth.log) and HDFS (Hadoop 2.6.0). The command to use it is:

  bin / flume-ng agent --conf ./conf / -f flume.conf -Dflume.root.logger = DEBUG, console-n agent < / Code> 

The flume.conf file contains the following:

  agent.channels.memory-channel.type = Memory agent .source .ail-source.type = exec agent.sources.tail-source.command = tail -f /var/log/auth.log Agent.ources.tail-source.channels = Memory-Channel Agent.Sinks.log- Sink channel = memory-channel agent.sinks.log-sink.type = logger agent.sinks.hdfs-sink.channel = memory-channel agent.sinks.hdfs-sink.type = hdfs agent.sinks.hdfs-sink.hdfs . Path = hdfs: // localhost: 54310 / usr / auth.log agent.sinks.hdfs-sink.hdfs.fileType = datastream agent.channel = memory-channel agent.sources = tail-source agent.sinks = log-sync hdfs After running the command, the following message is repeated in the loop:  
  (debconf - org.apache.flume.node.PollingPropertiesFileConfigurationProv  

What could be the reason?

Div class = "post-text" itemprop = "text">

Flow is designed by default so that every 30 seconds (this) can see configuration files looking for changes. This happens when it rebuilds the affected component (source, sync or channel) to apply a new configuration. If you want to disable this behavior, then simply contact the agent - no-reload-conf option.


No comments:

Post a Comment