Hi Frank, Do you want to pass the avro schema as parameter in place of copy pasting to workflow.xml?
In you expected example, you can define (MyAvroRecord.SCHEMA) in job.properties file. Regards, Mohammad ________________________________ From: Frank Maritato <[email protected]> To: "[email protected]" <[email protected]> Sent: Thursday, July 18, 2013 11:07 AM Subject: function for avro schema in ooze workflow? Hi All, Is there any way to insert my avro schema into the workflow.xml for oozie without copy and paste? Can I do this with an EL function or maybe maven filtering? for example, instead of doing this: <property> <name>avro.output.schema</name> <value>{"type":"record",...}</value> </property> Is it possible to do something like this: <property> <name>avro.output.schema</name> <value>${MyAvroRecord.SCHEMA$}</value> </property> -- Frank Maritato [email protected]<mailto:[email protected]>
