Finally the jobs were errored because I ran another job that took all the available quota for that region and the stuck jobs failed as they could not acquire the required resources.
On Tue, Jan 23, 2018 at 10:20 AM Carlos Alonso <[email protected]> wrote: > Many thanks for your input. > > Unfortunately, neither of the proposals are working. When trying from the > command line (using the job name instead of the id), same error appears > `Failed to cancel job [myjobname]: (8b60d3b239f21d49): Could not cancel > workflow; user does not have sufficient permissions on project: myproject, > or the job does not exist in the project.` > > And I cannot cancel it on the UI as, when I click on the job details, a > blank screen with only the message `The graph is still being analysed` > appears. > > Regards > > On Tue, Jan 23, 2018 at 12:22 AM Alex Amato <[email protected]> wrote: > >> Hi Carlos, >> >> Can you try cancelling your job using the job name "*myjobname*" >> instead of the job_id. I think that is the proper way to cancel from the >> command line. >> >> Otherwise, you can try to find the job in the dataflow UI and click the >> cancel button on the webpage to cancel your job, if this is a onetime thing. >> >> I believe that this should be the proper way to do this on the command >> line: >> gcloud beta dataflow jobs --project=myproject cancel myjobname >> … >> >> On Mon, Jan 22, 2018 at 1:31 PM Lukasz Cwik <[email protected]> wrote: >> >>> >>> ---------- Forwarded message ---------- >>> From: Carlos Alonso <[email protected]> >>> Date: Mon, Jan 22, 2018 at 1:28 PM >>> Subject: Google Dataflow jobs stuck analysing the graph >>> To: "[email protected]" <[email protected]> >>> >>> >>> We have submitted a couple of jobs that seem to have stuck on the graph >>> analysing step. >>> >>> An weird A job with ID "2018-01-19_03_27_48-15138951989738918594" >>> doesn't exist error appears on top of the Google Dataflow jobs list >>> page and trying to list it using gcloud tool shows them as in Unknown >>> state: >>> >>> JOB_ID NAME TYPE CREATION_TIME STATE REGION >>> 2018-01-19_03_27_48-15138951989738918594 myjobname2 Streaming 2018-01-19 >>> 12:27:48 Unknown europe-west1 2018-01-19_03_21_05-1065108814086334743 >>> myjobname Streaming 2018-01-19 12:21:06 Unknown europe-west1 >>> >>> Trying to cancel them using gcloud tool as well doesn't work either: >>> >>> ~ gcloud beta dataflow jobs --project=myproject cancel >>> 2018-01-19_03_21_05-1065108814086334743 Failed to cancel job >>> [2018-01-19_03_21_05-1065108814086334743]: (9027838c1500ddff): Could not >>> cancel workflow; user does not have sufficient permissions on project: >>> myproject, or the job does not exist in the project. >>> >>> Any idea? >>> >>> Thanks!! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "dataflow-feedback" group. >>> To view this discussion on the web visit >>> https://groups.google.com/a/google.com/d/msgid/dataflow-feedback/CAF9t7_6V25%2B9U2ZPPMOGxVF0OXZ-orz%3D4Djnkz_ttA%2B8%2B_W%3D0A%40mail.gmail.com >>> <https://groups.google.com/a/google.com/d/msgid/dataflow-feedback/CAF9t7_6V25%2B9U2ZPPMOGxVF0OXZ-orz%3D4Djnkz_ttA%2B8%2B_W%3D0A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>
