Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileList can't read specific directory in Linux Redhat

Hi All,

 

Overview:

I'm try make ETL at Linux server, my jar from talend if run on windows no problem but when run jar in Linux server tFileList can't read specific directory.

my design :

tFileList ->>  tFileInputJson ->> tLogRow ->> tDBSCD

 

Environtment

Java jdk1.8.0_181

Linux RedHat

 

tFileList Details:

0683p000009M1oz.png0683p000009M1hA.png

 

tFileInputJSON Details:

0683p000009M1fj.png

 

any ideas for this?

Thanks

Albarhp

Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

    First thing I will do is to verify the Current file paths are getting values from tFileList. I will do it by adding a tjava and print the results in console using Syste.out.print().

 

    It could be a small issue that the directory you are pointing might not be having the right files or you are pointing to wrong directory.

 

    Once it is established that I am able to fetch the files in Unix, then I will check whether I have mapped the data of JSON correctly in sample Unix file (since the job is running fine in Windows).

 

Could you please try these and let us know the results?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi,

 

    First thing I will do is to verify the Current file paths are getting values from tFileList. I will do it by adding a tjava and print the results in console using Syste.out.print().

 

    It could be a small issue that the directory you are pointing might not be having the right files or you are pointing to wrong directory.

 

    Once it is established that I am able to fetch the files in Unix, then I will check whether I have mapped the data of JSON correctly in sample Unix file (since the job is running fine in Windows).

 

Could you please try these and let us know the results?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

I tried to sysout of context.directory the result is:

0683p000009M1iN.pngsysout result0683p000009M1ih.pngfiles at my directory

 

 

Anonymous
Not applicable
Author

Ok. So the issue is in identification of files in tFileList component.

 

Could you please remove the file mask and try? Also please verify whether the spelling and case is correct for the directory.

 

I would also suggest to have a quick look in the advanced settings also to make sure that you have not selected "Use exclde filemask"

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

 

   

Anonymous
Not applicable
Author

Hi Nikhil,

 

Problems not from directory but problems from json content different between at windows directory and at linux directory.

Thanks for your time.

 

Albarhp