[
https://issues.apache.org/jira/browse/OOZIE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238944#comment-13238944
]
[email protected] commented on OOZIE-781:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4494/
-----------------------------------------------------------
Review request for oozie.
Summary
-------
https://issues.apache.org/jira/browse/OOZIE-781
This addresses bug OOZIE-781.
https://issues.apache.org/jira/browse/OOZIE-781
Diffs
-----
trunk/client/src/test/java/org/apache/oozie/cli/TestValidation.java 1305441
trunk/client/pom.xml 1305441
trunk/client/src/test/resources/timeout.xml PRE-CREATION
trunk/core/src/test/java/org/apache/oozie/service/TestSchemaService.java
1305441
trunk/core/src/test/java/org/apache/oozie/workflow/lite/TestLiteWorkflowAppParser.java
1305441
trunk/pom.xml 1305441
Diff: https://reviews.apache.org/r/4494/diff
Testing
-------
Yes
Thanks,
Virag
> Xerces validator used by Java gets stuck during pattern matching
> ----------------------------------------------------------------
>
> Key: OOZIE-781
> URL: https://issues.apache.org/jira/browse/OOZIE-781
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
>
> The regex validator tries to validate the 'workflow-app name' against the
> pattern
> <xs:pattern value="([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39})"/>. If the 'name' is
> very long and doesn't match against the pattern used in schema, it gets stuck
> for a
> long time and heavily increases the CPU usage.
> Specifically the users saw this when they used a period in their wf name
> This problem is solved in xerces 2.10.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira