<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Cloudera Manager: oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength    invalid variable in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-Manager-oozie-service-WorkflowAppService/m-p/64413#M74350</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to submit a large Oozie workflow to import many tables from Teradata, but I got the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; E0736: Workflow definition length [325,117] exceeded maximum allowed length [100,000]&lt;/PRE&gt;&lt;P&gt;I searched for this error and it seems we can increase the workflow allowed size with this property in the oozie-site.xml:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
	&amp;lt;name&amp;gt;oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength&amp;lt;/name&amp;gt;
	&amp;lt;value&amp;gt;100000000&amp;lt;/value&amp;gt;
	&amp;lt;description&amp;gt;
            The maximum length of the workflow definition in bytes
            An error will be reported if the length exceeds the given maximum
        &amp;lt;/description&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;I've tried to add that property in the Oozie configuration through Cloudera Manager (tried both in the&amp;nbsp;&lt;STRONG&gt;Oozie Service Environment Advanced Configuration Snippet (Safety Valve)&amp;nbsp;&lt;/STRONG&gt;and in&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Oozie Server Environment Advanced Configuration Snippet (Safety Valve) &lt;/STRONG&gt;) like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength=10000000&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;In both cases Cloudera Manager gives an error complaining that it is an invalid variable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;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&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;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&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know how to solve?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:50:12 GMT</pubDate>
    <dc:creator>ludof</dc:creator>
    <dc:date>2022-09-16T12:50:12Z</dc:date>
    <item>
      <title>Cloudera Manager: oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength    invalid variable</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-Manager-oozie-service-WorkflowAppService/m-p/64413#M74350</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to submit a large Oozie workflow to import many tables from Teradata, but I got the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; E0736: Workflow definition length [325,117] exceeded maximum allowed length [100,000]&lt;/PRE&gt;&lt;P&gt;I searched for this error and it seems we can increase the workflow allowed size with this property in the oozie-site.xml:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
	&amp;lt;name&amp;gt;oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength&amp;lt;/name&amp;gt;
	&amp;lt;value&amp;gt;100000000&amp;lt;/value&amp;gt;
	&amp;lt;description&amp;gt;
            The maximum length of the workflow definition in bytes
            An error will be reported if the length exceeds the given maximum
        &amp;lt;/description&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;I've tried to add that property in the Oozie configuration through Cloudera Manager (tried both in the&amp;nbsp;&lt;STRONG&gt;Oozie Service Environment Advanced Configuration Snippet (Safety Valve)&amp;nbsp;&lt;/STRONG&gt;and in&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Oozie Server Environment Advanced Configuration Snippet (Safety Valve) &lt;/STRONG&gt;) like so:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength=10000000&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;In both cases Cloudera Manager gives an error complaining that it is an invalid variable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;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&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;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&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know how to solve?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:50:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-Manager-oozie-service-WorkflowAppService/m-p/64413#M74350</guid>
      <dc:creator>ludof</dc:creator>
      <dc:date>2022-09-16T12:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera Manager: oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength    invalid variab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-Manager-oozie-service-WorkflowAppService/m-p/64415#M74351</link>
      <description>&lt;P&gt;Solved, I was looking in the wrong section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oozie_Stale_config.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3854i01D73D75C1BECA7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="oozie_Stale_config.png" alt="oozie_Stale_config.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:54:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-Manager-oozie-service-WorkflowAppService/m-p/64415#M74351</guid>
      <dc:creator>ludof</dc:creator>
      <dc:date>2018-02-07T10:54:23Z</dc:date>
    </item>
  </channel>
</rss>

