Thanks for the reply.
What OozieClient method are you calling to submit the coord job?
is it start(), submit(), run()?
It appears , you called start(). If that is the case, please try either with 
submit() or run().

Regards,
Mohammad


----- Original Message -----
From: Prakhar Srivastava <[email protected]>
To: [email protected]; Mohammad Islam <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, July 5, 2012 12:53 AM
Subject: Re: error while submitting an oozie coordinator job

Hi,
Thanks for the response. Here is the job.properties file I am using.


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

#Root directory of the workflow required to find various configurations and
dependencies
workflowRoot=workflows

#User name using which workflow will be executed
user.name=hadoop

#Whether the workflow will utilize any other jar (required by actions like
Pig and Hive)
oozie.use.system.libpath=true

#The workflow application path where the workflow.xml will be found
oozie.coord.application.path=${nameNode}/user/${user.name
}/${workflowRoot}/incremental

START=2012-07-04T11:10Z
END=2012-08-04T11:10Z

#URI of the workflow xml
workflowAppUri=${nameNode}/user/${user.name}/${workflowRoot}/incremental
oozie.wf.workflow.notification.url=
http://192.168.0.3:1337/?jobId=$jobId&status=$status
oozie.wf.action.notification.url=
http://192.168.0.3:1337/?jobId=$jobId&nodeName=$nodeName&status=$status

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

The exception in the oozie.log is as follows.
2012-07-05 13:20:19,564  WARN V1JobServlet:542 - USER[?] GROUP[-] TOKEN[-]
APP[-] JOB[-] ACTION[-] URL[PUT
http://binn1:11000/oozie/v1/job/0000384-120702125551332-oozie-hado-C?action=start]
error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]
org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value,
[{0}] = [{1}]
at org.apache.oozie.servlet.V1JobServlet.startJob(V1JobServlet.java:80)
at org.apache.oozie.servlet.BaseJobServlet.doPut(BaseJobServlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:640)
at
org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:284)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:126)
at
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:372)
at org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:131)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)

Yes, I am using the START time parameter in the coordinator job.

Thanks,
Prakhar


On Thu, Jul 5, 2012 at 1:26 AM, Mohammad Islam <[email protected]> wrote:

> In addition to Chaitanya request, can you please check the oozie.log in
> the server side with any exception.
> Secondly, are you passing "start" parameter  for coord job submission?
>
> Regards,
> Mohammad
>
>
>
> ----- Original Message -----
> From: Chaitanya Sharma <[email protected]>
> To: [email protected]
> Cc:
> Sent: Wednesday, July 4, 2012 5:52 AM
> Subject: Re: error while submitting an oozie coordinator job
>
> Hey,
>
> Can you share the parameter's that you pass as part of the job
> definition/submission ?
>
>
>
> -Chaitanya
>
> On Wed, Jul 4, 2012 at 5:22 PM, Prakhar Srivastava <[email protected]
> >wrote:
>
> > Hi,
> > I am trying to submit an oozie coordinator job using the JAVA API. I am
> > successfully able to submit a oozie workflow job but facing the error
> below
> > while submitting oozie coordinator job. However, the coordinator job gets
> > submitted successfully and starts at the specified time. I am still
> unable
> > to identify the reason for the error below.
> >
> > E0303 : E0303: Invalid parameter value, [{0}] = [{1}]
> > at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:412)
> > at
> org.apache.oozie.client.OozieClient$JobAction.call(OozieClient.java:525)
> > at
> org.apache.oozie.client.OozieClient$JobAction.call(OozieClient.java:511)
> > at
> >
> >
> org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:383)
> > at org.apache.oozie.client.OozieClient.start(OozieClient.java:547)
> > at
> >
> >
> com.example.test.client.WorkflowClient.startOozieJob(WorkflowClient.java:136)
> > at
> >
> >
> com.example.test.client.WorkflowClient.submitOozieJob(WorkflowClient.java:124)
> > at
> >
> >
> com.example.test.client.WorkflowClient.submitOozieJob(WorkflowClient.java:107)
> > at
> >
> com.example.test.client.WorkflowInit.executeWorkflow(WorkflowInit.java:75)
> > at com.example.test.client.WorkflowInit.main(WorkflowInit.java:125)
> >
> > Any suggestions ???
> >
> > Thanks,
> > Prakhar
> >
>
>

Reply via email to