From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

Unable to run the Job on remote engine due to <jobname>.sh not found in

Highlighted
Four Stars

Unable to run the Job on remote engine due to <jobname>.sh not found in

I am getting the below error while running the job through Studio in remote engine.  when I verified the shell script created, the path that got created is 

/opt/TalendRemoteEngine/./TalendJobServersFiles/repository/NSW_job_nsw_raw_20190711_153443_Tjgp1/job_nsw_raw_0.1/job_nsw_raw_run.sh

 

The version 0.1 is missing when talend trying to run the job.  What would be reason?

 

Running job '<job name>'.....

Execution failed : org.talend.remote.commons.exception.ClientServerException: Remote server has encountered an error:
, messageType=SERVER_ERROR, idRequestResponsePair=null, message=java.io.FileNotFoundException: /opt/TalendRemoteEngine/./TalendJobServersFiles/repository/NSW_job_nsw_raw_20190711_153443_Tjgp1/job_npps_tbdp_raw/job_nsw_raw_run.sh (No such file or directory)

[Remote server has encountered an error:
, messageType=SERVER_ERROR, idRequestResponsePair=null, message=java.io.FileNotFoundException: /opt/TalendRemoteEngine/./TalendJobServersFiles/repository/NSW_job_nsw_raw_20190711_153443_Tjgp1/job_npps_tbdp_raw/job_nsw_raw_run.sh (No such file or directory)
]

Highlighted
One Star

Re: Unable to run the Job on remote engine due to <jobname>.sh not found in

Hi 

I am getting the same error.

 

While deploying package at remote talend is creating folder with job version.But while running job_name.sh it is pointing to a different folder to find the job.

 

messageType=SERVER_ERROR, idRequestResponsePair=null, message=java.io.FileNotFoundException: /opt/talend/Talend-7.0.1/jobserver/agent/./TalendJobServersFiles/repository/*******_test_job_20190712_115637_ulIod/test_job/test_job_run.sh (No such file or directory)

 

In unix server it is creating an additional directory :

 

drwxr-xr-x 4 talend talend 4096 Jul 12 11:56 test_job_0.1

 

drwxr-xr-x 4 talend talend 4096 Jul 12 11:56 test_job_0.1
(DEV) *********@dev-r11edge:/opt/talend/Talend-7.0.1/jobserver/agent/TalendJobServersFiles/repository/*********_test_job_20190712_115637_ulIod $ cd test_job_0.1
(DEV)***********@dev-r11edge:/opt/talend/Talend-7.0.1/jobserver/agent/TalendJobServersFiles/repository/*********_test_job_20190712_115637_ulIod/test_job_0.1 $ ll
total 12
-rw-r--r-- 1 talend talend 306 Jul 12 11:56 jobInfo.properties
drwxr-xr-x 2 talend talend 4096 Jul 12 11:56 lib
drwxr-xr-x 4 talend talend 4096 Jul 12 11:56 test_job
(DEV) ***********@dev-r11edge:/opt/talend/Talend-7.0.1/jobserver/agent/TalendJobServersFiles/repository/**********_test_job_20190712_115637_ulIod/test_job_0.1 $ cd test_job
(DEV) ***********@dev-r11edge:/opt/talend/Talend-7.0.1/jobserver/agent/TalendJobServersFiles/repository/**********_test_job_20190712_115637_ulIod/test_job_0.1/test_job $ ll
total 24
drwxr-xr-x 3 talend talend 4096 Jul 12 11:56 ***********
drwxr-xr-x 3 talend talend 4096 Jul 12 11:56 items
-rw-r--r-- 1 talend talend 1080 Jul 12 11:56 log4j.xml
-rw-r--r-- 1 talend talend 114 Jul 12 11:56 test_job_run.bat
-rw-r--r-- 1 talend talend 362 Jul 12 11:56 test_job_run.ps1
-rw-r--r-- 1 talend talend 144 Jul 12 11:56 test_job_run.sh
(DEV) ***********@dev-r11edge:/opt/talend/Talend-7.0.1/jobserver/agent/TalendJobServersFiles/repository/*******_test_job_20190712_115637_ulIod/test_job_0.1/test_job $

 

SO an extra directory making it a complete different path for it to find the bash shell wrapper.

Any reason to do that.Any issue with Maven settings or if anyone can point where to look foor to fix this.

 

Thanks

SH

 

 

 

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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Talend Cloud Developer Series – Defining Metadata

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

Watch Now