-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we increase the Oozie WorkflowDefinitionMaxLength? #33
Comments
Changed <property>
<name>oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength</name>
<value>200000</value>
<description>
The maximum length of the workflow definition in bytes
An error will be reported if the length exceeds the given maximum
</description>
</property> When submitting another large workflow, the same error arises:
Changing |
Added the following to <property>
<name>oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength</name>
<value>200000</value>
<description>
The maximum length of the workflow definition in bytes
An error will be reported if the length exceeds the given maximum
</description>
</property> When submitting another large workflow, a new error arises:
Changing |
Java's conception of UTF-8 has a 2-byte length field, thus capping encoded string length at 65535. This raises another question: why can we get close to 100,000 (which is >64K) |
How did you create your testcase? The 64k limitation might be an undocumented restriction on any single element of a workflow.xml file, rather than the entire text. |
Poorly. I added a massive configuration block to a workflow.
Oozie will break the definition up into smaller chunks. Still following the code to see why it wouldn't break up my workflow, but I suspect that my massive config block might be at fault. A large workflow with multiple actions may fare better. |
What happens if we increase the size of
oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength
inoozie-default.xml
? Can we construct workflwos greater than 100kb in size?Currently, when creating a large workflow we get the following error (from
/usr/local/oozie-4.1.0/logs/oozie.log
):The text was updated successfully, but these errors were encountered: