beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Liu (JIRA)" <>
Subject [jira] [Commented] (BEAM-1986) Job ALREADY_EXISTS in post commit
Date Tue, 02 May 2017 22:28:04 GMT


Mark Liu commented on BEAM-1986:

What is "name of the main application" exactly mean? Ideally for testing, it probably can
be like "TestClassName-TestFunctionName". For general pipeline, it can be "Class/ModuleName".

I found [inspect|] may
be useful, which can get caller stacktrace. However, someone mentioned [here|]
that it's not recommended for production code since it depends on CPython environment. 

> Job ALREADY_EXISTS in post commit
> ---------------------------------
>                 Key: BEAM-1986
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Ahmet Altay
>            Assignee: Mark Liu
>            Priority: Minor
> I noticed a job failed with ALREDY_EXISTS error, a sign of same {{job_name}} auto generated
twice. Could we add a 1 second delay to prevent things like this?
> cc: [~pabloem] Another perspective, would it make sense to add a small random component
(e.g. 1-2 digits) to job name to reduce this issue? Or perhaps include ms resolution. 

This message was sent by Atlassian JIRA

View raw message