Does your oozie-site.xml have properties named "oozie.service.ActionService.executor.ext.classes" and "oozie.service.SchemaService.wf.ext.schemas"? What are their values?
- Robert On Thu, Oct 25, 2012 at 4:51 PM, Prashant Kommireddi <[email protected]>wrote: > Hi, > > Anyone have ideas on what's going on here? > > $ bin/oozie job -oozie http://pkommireddi-wsl:11000/oozie -config > examples/apps/map-reduce/job.properties -run > Error: E0701 : E0701: XML schema error, cvc-complex-type.2.4.c: The > matching wildcard is strict, but no declaration can be found for element > 'email'. > > > This is my workflow > > <!-- > Licensed to the Apache Software Foundation (ASF) under one > or more contributor license agreements. See the NOTICE file > distributed with this work for additional information > regarding copyright ownership. The ASF licenses this file > to you under the Apache License, Version 2.0 (the > "License"); you may not use this file except in compliance > with the License. You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > > Unless required by applicable law or agreed to in writing, software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > See the License for the specific language governing permissions and > limitations under the License. > --> > <workflow-app xmlns="uri:oozie:workflow:0.2" name="map-reduce-wf"> > <start to="mr-node"/> > <action name="mr-node"> > <map-reduce> > <job-tracker>${jobTracker}</job-tracker> > <name-node>${nameNode}</name-node> > <prepare> > <delete > > path="${nameNode}/user/${wf:user()}/${examplesRoot}/output-data/${outputDir}"/> > </prepare> > <configuration> > <property> > <name>mapred.job.queue.name</name> > <value>${queueName}</value> > </property> > <property> > <name>mapred.mapper.class</name> > <value>org.apache.oozie.example.SampleMapper</value> > </property> > <property> > <name>mapred.reducer.class</name> > <value>org.apache.oozie.example.SampleReducer</value> > </property> > <property> > <name>mapred.map.tasks</name> > <value>1</value> > </property> > <property> > <name>mapred.input.dir</name> > > <value>/user/${wf:user()}/${examplesRoot}/input-data/text</value> > </property> > <property> > <name>mapred.output.dir</name> > > <value>/user/${wf:user()}/${examplesRoot}/output-data/${outputDir}</value> > </property> > </configuration> > </map-reduce> > <ok to="emailSuccess"/> > <error to="emailError"/> > </action> > <action name="emailError"> > <email xmlns="uri:oozie:email-action:0.1"> > <to>${recipient}</to> > <subject>Product metrics workflow failed: ${wf: id()}</subject> > <body>${wf:errorMessage(wf:lastErrorNode())}]</body> > </email> > <ok to="kill"/> > <error to="kill"/> > </action> > <action name="emailSuccess"> > <email xmlns="uri:oozie:email-action:0.1"> > <to>${recipient}</to> > <subject>Product metrics workflow ran successfully: ${wf: > id()}</subject> > <body>SUCCESS</body> > </email> > <ok to="end"/> > <error to="kill"/> > </action> > <kill name="fail"> > <message>Map/Reduce failed, error > message[${wf:errorMessage(wf:lastErrorNode())}]</message> > </kill> > <end name="end"/> > </workflow-app> >
