question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to cancel job from ScioResult

See original GitHub issue

IIRC ScioResult#waitUntilDone only throws an exception when the timeout is up but won’t cancel the job. Need to pass it to the underlying job (might be runner specific?).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
clairemcgintycommented, Feb 28, 2018

@regadas yep!! it looks like it’s as simple as calling internal.cancel() (at least, this worked with the batch Dataflow runner…). I’ll put up a PR after I get things cleaned up/tested.

0reactions
regadascommented, Mar 1, 2018

PR #1058

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scheduled Jobs
To view a list of your currently scheduled jobs click the Scheduled Jobs ... If you do have the ability to cancel a...
Read more >
Cancelling a Batch Job with the CANCEL Command - IBM
To halt processing of batch jobs that you submitted from your terminal, use the CANCEL command. If you cancel the job successfully, the...
Read more >
Canceling a Print Job Using the Job Status/Cancel Key - Canon
Press the [ ] ( Job Status/Cancel) key. Select a job you want to cancel using [ ] and [ ], and then...
Read more >
17099: GruntWorx - Cancelling a Job - Drake Software KB
Go to the Job Status tab. Highlight the job to be canceled. Right-click and select Cancel Job.
Read more >
cancel-job — AWS CLI 1.27.28 Command Reference
Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state. --cli-input-json (string)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found