File access/ files not found

Four Stars

File access/ files not found

I have a job that runs successfully on my local studio using UNCs in a context variable.  However when I deploy it to the remote engine using TMC, if succeeds with a message "tFileList_2 - File or directory count : 0" even though there are three files in the directory.

 

I've tried reformatting the URL using / and \\ and also using the local filepath, as the engine is also the fileserver sharing the file.  Its a windows system and everyone has permission on both the share and the directory.

 

Any Ideas?

Forteen Stars

Re: File access/ files not found

Hi Jason,

 

how is your UNC variable look?

it must not depend from is it stored in context or hardcoded

 

-----------
Four Stars

Re: File access/ files not found

this is the text of the UNC parameter:

"//RLW-WSV-DW/Backup/Inventory_Analytic"

which is the server/sharename. 

I have also tried this format:

"F:/Backup/Inventory_Analytic"

which is the local path on the remote engine server.

The job component was using this path variable : context.ImportFilepath

 

This works on my local windows machine but not from the cloud/remote engine.  It will work from the cloud if I change the variable to a local path string in the component however.

 

 

 

Nine Stars

Re: File access/ files not found

Hi,

I'm guessing the Remote Engine is running as a service/daemon on a Windows or LINUX server, does the user of the service/daemon have access to the UNC path?

 

Regards David
Dont forget to give Kudos when an answer is helpful or mark the answer as the solution.

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend Cloud Developer Series – Defining Metadata

This video focuses on different methods of adding metadata to a job in Talend Cloud

Watch Now

Talend Cloud Developer Series – Updating Context Variables

This video will show you how to add context parameters to a job in Talend Cloud

Watch Now

Talend Cloud Developer Series – Deploying First Job to Cloud

This video will show you how to run a job in Studio and then publish that job to Talend Cloud

Watch Now