I am using Flume to sink data from Kafka topic to HDFS with channel as KafkaChannel. At first, Flume was inserting an empty line after each record in the HDFS file, and when I query the Hive table pointing to this directory, I am seeing null line after each record. I have added the appendNewLine=false to my Flume config file, which eliminated the empty line between records. But for every HDFS file flume creates, the first line is always empty, and the hive query also shows first line as Null followed by records. Do I have to add any property to my Flume config file which eliminate the null lines?. Please Suggest. Below is my Flume Config.