Hi Nitin,
We are calling kitchen.sh part of master linux script only and we are already redirecting those logs to file. Part of that log file we could see a message that "Kitchen - Finished!" but finally when it's trying to return code back to calling script that's when it gives non-zero return code.
------------------------------
Pradeep Munirathinam
Others
SYF
------------------------------
Original Message:
Sent: 04-17-2024 01:40
From: Nitin Pipalia
Subject: Getting 142 return code in linux while executing kitchen.sh
Hi Pradeep,
How are you running your script in Linux ? There are some ways, like while running the kitchen script in linux, you can create a shell script in which you can put your kitchecn.sh with a job file name and create a log file to debug things.
Example -- sh myscript.sh > folderlocation/kettle.log
Here in sh myscript.sh, you can put your kjb path with kitchec.sh and other operations if required.
------------------------------
Nitin Pipalia
Systems Engineer
Cubegle Technologies
Original Message:
Sent: 04-11-2024 17:31
From: Pradeep Munirathinam
Subject: Getting 142 return code in linux while executing kitchen.sh
Hello Everyone,
I am trying to execute kettle job(.kjb) using kitchn script in linux machine and the job is executing/ completing all steps as expected but the final return status code alone gets returned as non-zero value(142) which is making calling script fail.
Anyone has faced this issue and any leads or feedback on this issue would be much appreciated.
Kettle version : 8.1.0.0-365
------------------------------
Pradeep Munirathinam
Others
SYF
------------------------------