You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Max Konstantinov <ko...@gmail.com> on 2016/03/24 11:49:39 UTC

Is a workflow job id unique?

Hi,

1) Is a workflow job id unique within a single oozie server/oozie DB
instance?
2) If we dropped and recreated an external oozie DB or restart oozie
server, would new oozie wf ids be unique to previously generated?

We use oozie rest api from our app and register wf ids in our own db to
track their status and communication between the app and oozie wfs, I
wonder should I rely on their uniqueness.

Re: Is a workflow job id unique?

Posted by Jaydeep Vishwakarma <ja...@inmobi.com>.
Max,

Workflow job id' column is the primary key in DB.
It is the combination of random id + system id +"W"
where random id is combination of sequence number + current time +
random-uuid.

You can rely on their uniqueness.

Regards,
Jaydeep



On Thu, Mar 24, 2016 at 4:19 PM, Max Konstantinov <
konstantinov.maxim@gmail.com> wrote:

> Hi,
>
> 1) Is a workflow job id unique within a single oozie server/oozie DB
> instance?
> 2) If we dropped and recreated an external oozie DB or restart oozie
> server, would new oozie wf ids be unique to previously generated?
>
> We use oozie rest api from our app and register wf ids in our own db to
> track their status and communication between the app and oozie wfs, I
> wonder should I rely on their uniqueness.
>

-- 
_____________________________________________________________
The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 
receipt.