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

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?


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.


All 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.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

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

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads