tFileFetch with smb always component OK

Six Stars

tFileFetch with smb always component OK

Hello,

I use tFileFetch with smb but the component always ok. How I can catch Error ?

I use tJava only to display the link used.

tFileFetch-job.JPG

Result of execution.
tFileFetch-log.JPG

Thanks in advance

 

Dimitri

Eleven Stars

Re: tFileFetch with smb always component OK

Hi,

it's seam that your error is catch into tFileFetch!!!!

Try to use TlogCatcher it may solve your problem.

but it's a bug.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Eleven Stars

Re: tFileFetch with smb always component OK

@rhall_2_0 can you add this on the list of bugs to solve?

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Highlighted
Six Stars

Re: tFileFetch with smb always component OK

Hi Francois,

 

I put tLogCatcher in job but nothing happen.

tLogCatcher display anything.

 

If I would like to help in solving the bug, is it possible to contribue to Talend code ?

 

Thanks in advance

 

Dimitri

Thirteen Stars

Re: tFileFetch with smb always component OK


@fdenis wrote:
@rhall_2_0can you add this on the list of bugs to solve?


error text mean - "File not found", so component is finish his work correct , status Ok :-)

 

as bypass variant - use one of tFileExists components before tFileFetch (if possible)

 

-----------
Eleven Stars

Re: tFileFetch with smb always component OK

@vapukov I'm no ok, you ask the component to do something and it fail to do it (due to File not found).
you did not ask for a file list who can be empty.
If there is error onError link must be activated.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Thirteen Stars

Re: tFileFetch with smb always component OK

@fdenis 

 

and + and -

  • I with you, because it return Ok and for timeout error
  • but - "File Not Found" it not real error, it normal (and often) case, and more correct to have Rejected Link like for tRESTClient

it just a personal opinion of course

-----------
Eleven Stars

Re: tFileFetch with smb always component OK

We are on the same line.
Smiley Happy

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.