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

Seven 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
Seven 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
Seven 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?  

 

 

 

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

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

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now