Hi All,

I have very long string ( of length 69390 bytes ) in workflow definition
file.
OozieClient is throwing exception when i try to submit this workflow.

E0803 : E0803: IO error, java.lang.RuntimeException:
java.io.UTFDataFormatException: encoded string too long: 69390 bytes
        at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:445)
        at 
org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:523)
        at 
org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:493)
        at 
org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:416)
        at org.apache.oozie.client.OozieClient.run(OozieClient.java:587)
        at 
com.walmartlabs.dare.oozie.OozieExecutionManager$SubmitCallable.call(OozieExecutionManager.java:56)
        at 
com.walmartlabs.dare.oozie.OozieExecutionManager$SubmitCallable.call(OozieExecutionManager.java:45)
        at 
com.walmartlabs.dare.oozie.OozieExecutionManager.resilientOozieCall(OozieExecutionManager.java:235)
        at 
com.walmartlabs.dare.oozie.OozieExecutionManager.submitToOozie(OozieExecutionManager.java:207)
        at 
com.walmartlabs.dare.oozie.OozieExecutionManager.runExecTask(OozieExecutionManager.java:151)
        at 
com.codeminders.hamake.execution.AbstractExecutionManager.runTask(AbstractExecutionManager.java:180)
        at 
com.codeminders.hamake.execution.AbstractExecutionManager.access$000(AbstractExecutionManager.java:17)
        at 
com.codeminders.hamake.execution.AbstractExecutionManager$TaskExecutionInfo.run(AbstractExecutionManager.java:47)
        at java.lang.Thread.run(Thread.java:662)


 Is there a way to by pass this exception?

I came to know of
"oozie.service.WorkflowAppService.WorkflowDefinitionMaxLength"
property which can be used to increase workflow definition length.

Is there any similar way to increase length of strings inside workflow
definition file?


Thanks,

Giridhar.

Reply via email to