Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Reading all fies in HDFS directory

Highlighted
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?
Highlighted
Five Stars

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
Highlighted
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.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog