[ 
https://issues.apache.org/jira/browse/OOZIE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061761#comment-14061761
 ] 

Purshotam Shah commented on OOZIE-1882:
---------------------------------------

This was broken for ZKUUIDService because uuid pattern was changed.

To accommodate more ID, millisecond part was removed from id pattern.  Bulk API 
expect fixed pattern.

{noformat}
Keeping the jobID for ZKUUIDService  as \\d{7}-\\d{15}-systemID
There are other fixes with this patch.
1. Fix id pattern for ZKUUIDService, rollover after 7 digit.
2. While rolling-over timestamp is also reset.
3. ID {{"\\d{7}-\\d{15}-oozie-[a-z]{4}-"}} is changed to 
\\d{7}-\\d{15}-systemID, because  {{oozie-[a-z]{4}}} is configurable.
{noformat}


> Bulk API with bundle Id should relax regex check for Id
> -------------------------------------------------------
>
>                 Key: OOZIE-1882
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1882
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Mona Chitnis
>            Assignee: Purshotam Shah
>            Priority: Minor
>             Fix For: trunk
>
>
> Some HA changes related to job-id have changed the traditional id structure
> {{"\\d{7}-\\d{15}-oozie-[a-z]{4}-"}}. The Bulk API for bundle Id matches id 
> against this regex which now needs to be relaxed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to