[
https://issues.apache.org/jira/browse/GOBBLIN-1674?focusedWorklogId=798533&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-798533
]
ASF GitHub Bot logged work on GOBBLIN-1674:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Aug/22 19:14
Start Date: 05/Aug/22 19:14
Worklog Time Spent: 10m
Work Description: abti commented on PR #3534:
URL: https://github.com/apache/gobblin/pull/3534#issuecomment-1206781127
+1 It looks good to me.
Issue Time Tracking
-------------------
Worklog Id: (was: 798533)
Time Spent: 20m (was: 10m)
> gobblin.sh script to make running in background optional
> --------------------------------------------------------
>
> Key: GOBBLIN-1674
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1674
> Project: Apache Gobblin
> Issue Type: Improvement
> Components: gobblin-service
> Reporter: Bharath Krishna
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The gobbiln.sh script is using "start" command to start the script, and since
> the job command uses "nohup" and "&" , the job runs in the background.
> We have some use-case where we need to know whether the script completed
> successfully so that we can crawl some logs and export some metrics.
> But now, that part is breaking and not able to figure out if script finished.
> (This is a breaking change from [Gobblin
> 0.14|https://github.com/apache/gobblin/blob/ad32bba684f4c004801b6983bc52c126df2f04b2/bin/gobblin-mapreduce.sh#L206]
> to [Gobblin
> 0.16|https://github.com/apache/gobblin/blob/b400089035fe7ada1a523f9b7e5321e11d46d651/bin/gobblin.sh#L485]
> in this aspect).
> So it will be useful to add an optional argument to specify whether to run in
> background or not, especially when scheduling Gobblin jobs through crontab,
> running in background doesn't seem relevant.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)