Six Stars

Setup file path to run job on job server (in Talend Big data platform)

report.JPG

I have created a job in Talend studio. It creates xls file in windows machine. Before I deploy it on Talend job server how to set UNC path for the file?

1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: Setup file path to run job on job server (in Talend Big data platform)

Finally, after research, I am able to do it.

I have set generic file path to System.getProperty("user.dir"). It will work irrespective of any environment.

2 REPLIES
Six Stars

Re: Setup file path to run job on job server (in Talend Big data platform)

I am able to set path dynamically using context. 

Talend studio is installed on windows platform. XLS file in generated in the report folder "C:/Report/xyz.xls"

If I deploy job and execute on job server I will need to create folder name report in Linux environment.

Is it good practice to create folders on job server?  

 

 

 

Six Stars

Re: Setup file path to run job on job server (in Talend Big data platform)

Finally, after research, I am able to do it.

I have set generic file path to System.getProperty("user.dir"). It will work irrespective of any environment.