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)
]

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

 

 

 

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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 to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud reg...

Learn how to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud registries

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog

Talend API Services Publish to Talend Cloud

Learn how to publish your API Services to Talend Cloud

Watch Now