Reading all fies in HDFS directory

One Star

Reading all fies in HDFS directory

How do I read all the files in HDFS directory?

I want to do below:
(read all hdfs files in directory. All files with same schema) ---> tmap ---> output

This what I did and it always reads only one file from the input which is the latest file. Can anyone see and help me?
One Star

Re: Reading all fies in HDFS directory

I couldn't pull up your image - but did you use tHDFSList?
https://help.talend.com/search/all?query=tHDFSList&content-lang=en
Moderator

Re: Reading all fies in HDFS directory

Hi,
How did you set your tHDFSOutPut component? Is it working when you use tfileoutputdelimited instead and select "Append" check box?
You'd better post your images by a "Image upload box ". This would be easier for you and more convenient for other users than pasting urls
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.