Oozie is coupled with Map-reduce framework and uses HDFS as one of the supported filesystems. Oozie will load your workflow definition from the HDFS location so NN required. If you use xml namespace version 0.4 and higher, you can use a <global> tag to specify common params such as NN/JT/configuration for all your actions.
‹Mona On 2/13/14, 11:47 AM, "Jay Vyas" <[email protected]> wrote: >Is a nameNode a required element for plain java or mapreduce oozie >actions? >It seems so, but im not sure why: > > oozie job -oozie http://localhost:11000/oozie -config job.properties -run >Error: E0701 : E0701: XML schema error, cvc-complex-type.2.4.a: Invalid >content was found starting with element 'configuration'. One of >'{"uri:oozie:workflow:0.1":name-node}' is expected. > >It seems like the namenode should be an optional parameter, since >according >to https://issues.apache.org/jira/browse/OOZIE-426, OOZIE is written >directly against the file system API, without any coupling to HDFS/. > > >-- >Jay Vyas >http://jayunit100.blogspot.com
