title: Apache Flume creating new file for every line write
body: <p>i was doing some experiement to get feel of the flume. and below is my configuration file.</p>
  
  <pre><code>agent.channels.memory-channel.type = memory
  
  agent.sources.tail-source.type = exec
  agent.sources.tail-source.command = tail -F /root/test.txt
  agent.sources.tail-source.channels = memory-channel
  
  agent.sinks.hdfs-sink.channel = memory-channel
  agent.sinks.hdfs-sink.type = hdfs
  agent.sinks.hdfs-sink.hdfs.path = hdfs://10.0.7.111/tflume
  agent.sinks.hdfs-sink.hdfs.fileType = DataStream
  
  agent.channels = memory-channel
  agent.sources = tail-source
  agent.sinks = hdfs-sink
  </code></pre>
  
  <p>for each line adding to the test.txt file using vi command when look at the flume log it is creating new file in HDFS /tflume directory. why so ?</p>
  
  <p>I was expecting to flume to append to my existing file and at the same time, data writing to hdfs is also talking too long time by looking at the log.</p>
  
  <p>appreciate for reply in advance.</p>