Getting error while reading data from logs and writing to kafka sinks

Hi
Iam trying to read logs and write data to hdfssink and kafkasink
given below is the code

fmp.sources = logsource
fmp.sinks = kafkasink hdfssink
fmp.channels = kafkachannel hdfschannel

Describe/configure the source

fmp.sources.logsource.type = exec
fmp.sources.logsource.command = tail -F /opt/gen_logs/logs/access.log

Describe the sink

fmp.sinks.kafkasink.type = org.apache.flume.sink.kafka.KafkaSink
fmp.sinks.kafkasink.brokerlist = nn02.itversity.com:6667
fmp.sinks.kafkasink.topic =kafkadg

Use a channel which buffers events in memory

fmp.channels.kafkachannel.type = memory
fmp.channels.kafkachannel.capacity = 1000
fmp.channels.kafkachannel.transactionCapacity = 100

Bind the source and sink to the channel

fmp.sources.logsource.channels = kafkachannel hdfschannel
fmp.sinks.kafkasink.channel = kafkachannel
#Describe the sink
fmp.sinks.hdfssink.type = hdfs
fmp.sinks.hdfssink.hdfs.path = hdfs://nn01.itversity.com:8020/user/harikalyannagisetty/flume_example_%Y-%m-%d
fmp.sinks.hdfssink.hdfs.fileType = DataStream
fmp.sinks.hdfssink.hdfs.rollInterval = 120
fmp.sinks.hdfssink.hdfs.rollSize = 10485760
fmp.sinks.hdfssink.hdfs.rollCount = 30
fmp.sinks.hdfssink.hdfs.filePrefix = retail
fmp.sinks.hdfssink.hdfs.fileSuffix = .txt
fmp.sinks.hdfssink.hdfs.inUseSuffix = .tmp
fmp.sinks.hdfssink.hdfs.useLocalTimeStamp = true
#Use a channel which buffers events in file for HDFS sink
fmp.channels.hdfschannel.type = file
fmp.channels.hdfschannel.capacity = 1000
fmp.channels.hdfschannel.transactionCapacity = 100
fmp.channels.hdfschannel.checkpointInterval = 300
fmp.sinks.hdfssink.channel = hdfschannel

and iam able to see the data in hdfssinks however iam getting the below when i run the kafka consumer command

can you please let me know the issue
Thanks
Hari