You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by tousif <to...@moonraft.com> on 2012/03/08 10:48:01 UTC

oozie wf validation

How can i validate  workflow with schame 2.0 ? is there a way?



-- 
Regards
Tousif
+918050227279

Re: oozie wf validation

Posted by Mohammad Islam <mi...@yahoo.com>.
Hi Tousif,
Also can you give us the full stack trace of your exception from Oozie.log.

Regards,
Mohammad


----- Original Message -----
From: Mona Chitnis <ch...@yahoo-inc.com>
To: tousif <to...@moonraft.com>; "oozie-users@incubator.apache.org" <oo...@incubator.apache.org>
Cc: Mohammad Islam <mi...@yahoo.com>
Sent: Tuesday, March 13, 2012 3:29 PM
Subject: Re: oozie wf validation

Hi Tousif,

I am not able to reproduce this issue on my side. I tried the “oozie validate” command with a sample workflow.xml having your first line.

Have you made some local modifications to the oozie schema descriptors? If not, can you help me with some details about your setup and any local configurations?

Thanks,

Mona


On 3/8/12 10:05 PM, "tousif" <to...@moonraft.com> wrote:

Here is the first line in my workflow xml which i get error on validation.


<workflow-app xmlns="uri:oozie:workflow:0.2" name="map-reduce-wf">



P.S : oozie runs workflow without any error


On Fri, Mar 9, 2012 at 3:48 AM, Mona Chitnis <ch...@yahoo-inc.com> wrote:
Hi Tousif,

Can you specify here the first line of your workflow xml ? I will test on my side and help debug.

Thanks,

Mona


On 3/8/12 2:43 AM, "tousif" <to...@moonraft.com> wrote:

it always throws same exception SAXParser exception on first line. i'm
using oozie 3.1.0. and xmlns 0.2



On Thu, Mar 8, 2012 at 4:03 PM, Mohammad Islam <mi...@yahoo.com> wrote:

> Hi Tousif,
> Did you try "oozie validate <ARGS> : validate a workflow XML file"?
> If your xmlns contains 0.2, it will test against the correct xsd
>
> Regards,
> Mohammad
>
>
> ________________________________
> From: tousif <to...@moonraft.com>
> To: oozie-users <oo...@incubator.apache.org>
> Sent: Thursday, March 8, 2012 1:48 AM
> Subject: oozie wf validation
>
> How can i validate  workflow with schame 2.0 ? is there a way?
>
>
>
> --
> Regards
> Tousif
> +918050227279
>

Re: oozie wf validation

Posted by Mona Chitnis <ch...@yahoo-inc.com>.
Hi Tousif,

I am not able to reproduce this issue on my side. I tried the “oozie validate” command with a sample workflow.xml having your first line.

Have you made some local modifications to the oozie schema descriptors? If not, can you help me with some details about your setup and any local configurations?

Thanks,

Mona


On 3/8/12 10:05 PM, "tousif" <to...@moonraft.com> wrote:

Here is the first line in my workflow xml which i get error on validation.


<workflow-app xmlns="uri:oozie:workflow:0.2" name="map-reduce-wf">



P.S : oozie runs workflow without any error


On Fri, Mar 9, 2012 at 3:48 AM, Mona Chitnis <ch...@yahoo-inc.com> wrote:
Hi Tousif,

Can you specify here the first line of your workflow xml ? I will test on my side and help debug.

Thanks,

Mona


On 3/8/12 2:43 AM, "tousif" <to...@moonraft.com> wrote:

it always throws same exception SAXParser exception on first line. i'm
using oozie 3.1.0. and xmlns 0.2



On Thu, Mar 8, 2012 at 4:03 PM, Mohammad Islam <mi...@yahoo.com> wrote:

> Hi Tousif,
> Did you try "oozie validate <ARGS> : validate a workflow XML file"?
> If your xmlns contains 0.2, it will test against the correct xsd
>
> Regards,
> Mohammad
>
>
> ________________________________
> From: tousif <to...@moonraft.com>
> To: oozie-users <oo...@incubator.apache.org>
> Sent: Thursday, March 8, 2012 1:48 AM
> Subject: oozie wf validation
>
> How can i validate  workflow with schame 2.0 ? is there a way?
>
>
>
> --
> Regards
> Tousif
> +918050227279
>







Re: oozie wf validation

Posted by tousif <to...@moonraft.com>.
Here is the first line in my workflow xml which i get error on validation.


*<workflow-app xmlns="uri:oozie:workflow:0.2" name="map-reduce-wf">*



P.S : oozie runs workflow without any error


On Fri, Mar 9, 2012 at 3:48 AM, Mona Chitnis <ch...@yahoo-inc.com> wrote:

> Hi Tousif,
>
> Can you specify here the first line of your workflow xml ? I will test on
> my side and help debug.
>
> Thanks,
>
> Mona
>
>
> On 3/8/12 2:43 AM, "tousif" <to...@moonraft.com> wrote:
>
> it always throws same exception SAXParser exception on first line. i'm
> using oozie 3.1.0. and xmlns 0.2
>
>
>
> On Thu, Mar 8, 2012 at 4:03 PM, Mohammad Islam <mi...@yahoo.com> wrote:
>
> > Hi Tousif,
> > Did you try "oozie validate <ARGS> : validate a workflow XML file"?
> > If your xmlns contains 0.2, it will test against the correct xsd
> >
> > Regards,
> > Mohammad
> >
> >
> > ________________________________
> > From: tousif <to...@moonraft.com>
> > To: oozie-users <oo...@incubator.apache.org>
> > Sent: Thursday, March 8, 2012 1:48 AM
> > Subject: oozie wf validation
> >
> > How can i validate  workflow with schame 2.0 ? is there a way?
> >
> >
> >
> > --
> > Regards
> > Tousif
> > +918050227279
> >
>
>
>
>


-- 
Regards
Tousif
+918050227279

Re: oozie wf validation

Posted by Mona Chitnis <ch...@yahoo-inc.com>.
Hi Tousif,

Can you specify here the first line of your workflow xml ? I will test on my side and help debug.

Thanks,

Mona


On 3/8/12 2:43 AM, "tousif" <to...@moonraft.com> wrote:

it always throws same exception SAXParser exception on first line. i'm
using oozie 3.1.0. and xmlns 0.2



On Thu, Mar 8, 2012 at 4:03 PM, Mohammad Islam <mi...@yahoo.com> wrote:

> Hi Tousif,
> Did you try "oozie validate <ARGS> : validate a workflow XML file"?
> If your xmlns contains 0.2, it will test against the correct xsd
>
> Regards,
> Mohammad
>
>
> ________________________________
> From: tousif <to...@moonraft.com>
> To: oozie-users <oo...@incubator.apache.org>
> Sent: Thursday, March 8, 2012 1:48 AM
> Subject: oozie wf validation
>
> How can i validate  workflow with schame 2.0 ? is there a way?
>
>
>
> --
> Regards
> Tousif
> +918050227279
>




Re: oozie wf validation

Posted by tousif <to...@moonraft.com>.
it always throws same exception SAXParser exception on first line. i'm
using oozie 3.1.0. and xmlns 0.2



On Thu, Mar 8, 2012 at 4:03 PM, Mohammad Islam <mi...@yahoo.com> wrote:

> Hi Tousif,
> Did you try "oozie validate <ARGS> : validate a workflow XML file"?
> If your xmlns contains 0.2, it will test against the correct xsd
>
> Regards,
> Mohammad
>
>
> ________________________________
> From: tousif <to...@moonraft.com>
> To: oozie-users <oo...@incubator.apache.org>
> Sent: Thursday, March 8, 2012 1:48 AM
> Subject: oozie wf validation
>
> How can i validate  workflow with schame 2.0 ? is there a way?
>
>
>
> --
> Regards
> Tousif
> +918050227279
>



-- 
Regards
Tousif
+918050227279

Re: oozie wf validation

Posted by Mohammad Islam <mi...@yahoo.com>.
Hi Tousif,
Did you try "oozie validate <ARGS> : validate a workflow XML file"?
If your xmlns contains 0.2, it will test against the correct xsd

Regards,
Mohammad


________________________________
From: tousif <to...@moonraft.com>
To: oozie-users <oo...@incubator.apache.org> 
Sent: Thursday, March 8, 2012 1:48 AM
Subject: oozie wf validation

How can i validate  workflow with schame 2.0 ? is there a way?



-- 
Regards
Tousif
+918050227279