How to access shared folder from Talend when deployed on TAC

One Star

How to access shared folder from Talend when deployed on TAC

I am able to access the shared folder easily when running a job on my windows based talend.
Job:
tFileList -> tJava (prints out the directories in the tFileList)
When Directory = "\\\\xx.xx.xx.xxx\\Share\\"
it works perfect
When running it on TAC (which is on a linux server), I tried:
Directory = "smb://xx.xx.xx.xxx/Share/
But it seems that the file path is not recognizable.
Anyone have any ideas how to go about this?
Thanks,
Brian

One Star

Re: How to access shared folder from Talend when deployed on TAC

Side note:
I looked into tFileFetch - seems like your able to grab files, but I need to be able to manage the files on the server (move files/delete files/load files)

Seventeen Stars

Re:How to access shared folder from Talend when deployed on TAC

I know this problem. My way to solve this is to mount such directories with samba as a node in my local filesystem on Linux. I always try to mount the parent of a shared directory to have more flexibility.

One Star

Re:How to access shared folder from Talend when deployed on TAC

Hmm interesting... I will look into that thanks.
I actually played around with the jcifs library. I am able to connect/pull a list of files that is located in that directory, but am running into a really weird issue where I am unable to make a new directory.

One Star

Re:How to access shared folder from Talend when deployed on TAC

Hi, I got the same issue.
When I run a job in the studio the owner of the file created by the tFileOutputDelimitedin the share folder is me, I have all the access, so the job works, but when I deploy the job the server seems to not have the access to the share folder.
So, which access I have to give to who to get my job running in the server ?
Thanks,
Carlos

Community Manager

Re:How to access shared folder from Talend when deployed on TAC

Hi

So, which access I have to give to who to get my job running in the server ?


Which system Job server is installed? Give the r/w rights to the user who launch Job server.
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re:How to access shared folder from Talend when deployed on TAC

Hi Shong, indeed we have to grant the user of Talend service in the host server. As Talend was install as local system user, the share folder doesn't work so we have to manage 2 path (path network for bulk load and local path for tempo files) in the job.