Created on 02-07-2018 02:07 AM - edited 09-16-2022 05:50 AM
I need to submit a large Oozie workflow to import many tables from Teradata, but I got the following error:
E0736: Workflow definition length [325,117] exceeded maximum allowed length [100,000]
I searched for this error and it seems we can increase the workflow allowed size with this property in the oozie-site.xml:
<property> <name>oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength</name> <value>100000000</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>
I've tried to add that property in the Oozie configuration through Cloudera Manager (tried both in the Oozie Service Environment Advanced Configuration Snippet (Safety Valve) and in Oozie Server Environment Advanced Configuration Snippet (Safety Valve) ) like so:
oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength=10000000
In both cases Cloudera Manager gives an error complaining that it is an invalid variable:
Could not parse: Oozie Service Environment Advanced Configuration Snippet (Safety Valve) : Could not parse parameter 'oozie_env_safety_valve'. Was expecting: valid variable name. Input: oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength=10000000
Could not parse: Oozie Server Environment Advanced Configuration Snippet (Safety Valve) : Could not parse parameter 'OOZIE_SERVER_role_env_safety_valve'. Was expecting: valid variable name. Input: oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength=10000000
Does anyone know how to solve?
Created 02-07-2018 02:54 AM
Created 02-07-2018 02:54 AM
Solved, I was looking in the wrong section: