Support Questions
Find answers, ask questions, and share your expertise

Flume : How do I retain the file name when it is moved from spool directory to HDFS via Flume?

New Contributor

Hi All,

I am trying my hands on Apache flume and trying to move my files from Spool Directory to the Specified HDFS path.

Once the file gets moved to HDFS,its name changes from original_filename to FlumeData.somenumbers. Is there any way by which we can retain the original file name even after it is moved to HDFS?



No. Consumed files are either deleted or renamed to "originalname.COMPLETED".

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.