I am just doing testing. I am generating the sequence and want to upload into hdfs. My configuration file as:

agent2.channels = c1
agent2.sources = r1
agent2.sinks = k1

agent2.channels.c1.type = MEMORY

agent2.sources.r1.channels = c1
agent2.sources.r1.type = SEQ

agent2.sinks.k1.channel = c1
agent2.sinks.k1.type = LOGGER

Is it possible to upload into hdfs, if possible then how I can make the changes in configuration file.

Many thanks