You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by Idris Ali <ps...@gmail.com> on 2011/12/07 16:13:16 UTC

Oozie coordinator error message misleading

Hi,

I am using CDH3U0 and Oozie 3.0.2.

My coordinator.xml has entry :

(under datasets)

        <dataset name="impression-logs" frequency="${coord:minutes(20)}"
initial-instance="*2011-12-06T02:00Z*" timezone="UTC">

<uri-template>${nameNode}/user/${coord:user()}/airavat/input/HourlyImpSummary/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}/0</uri-template>
            <done-flag></done-flag>
        </dataset>

and (under input-events)
        <data-in name="impressionInputEvent" dataset="impression-logs">
            <start-instance>${coord:current(-2)}</start-instance>
            <end-instance>${coord:current(0)}</end-instance>
        </data-in>

and (under workflow->configuration)
                <property>
                    <name>impInputData</name>
                    <value>${coord:dataIn('impressionInputEvent')}</value>
                </property>


-------------My initial instance *2011-12-06T02:00Z *does NOT exists
(Actually it was a type mistake for* **2011-12-06T00:00Z*)------------

When I run the coordinator, I get the error message "v*ariable
[impInputData] cannot be resolved*" however this error message is
misleading.

Should'nt the message say missing dependency or data doesnot exist??

Thanks,
-Idris

Re: Oozie coordinator error message misleading

Posted by Idris Ali <ps...@gmail.com>.
Hi Alejandro,

Thanks for your quick response, I have filed the JIRA.

https://issues.apache.org/jira/browse/OOZIE-630

-Idris


On Wed, Dec 7, 2011 at 11:10 PM, Alejandro Abdelnur <tu...@cloudera.com>wrote:

> Hi Idris,
>
> Would you please file a JIRA to improve the error message? Also, when doing
> so, would you be a bit more clear on what was your typo error and and the
> log error you've got?
>
> Thanks.
>
> Alejandro
>
> On Wed, Dec 7, 2011 at 7:13 AM, Idris Ali <ps...@gmail.com> wrote:
>
> > Hi,
> >
> > I am using CDH3U0 and Oozie 3.0.2.
> >
> > My coordinator.xml has entry :
> >
> > (under datasets)
> >
> >        <dataset name="impression-logs" frequency="${coord:minutes(20)}"
> > initial-instance="*2011-12-06T02:00Z*" timezone="UTC">
> >
> >
> >
> <uri-template>${nameNode}/user/${coord:user()}/airavat/input/HourlyImpSummary/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}/0</uri-template>
> >            <done-flag></done-flag>
> >        </dataset>
> >
> > and (under input-events)
> >        <data-in name="impressionInputEvent" dataset="impression-logs">
> >            <start-instance>${coord:current(-2)}</start-instance>
> >            <end-instance>${coord:current(0)}</end-instance>
> >        </data-in>
> >
> > and (under workflow->configuration)
> >                <property>
> >                    <name>impInputData</name>
> >                    <value>${coord:dataIn('impressionInputEvent')}</value>
> >                </property>
> >
> >
> > -------------My initial instance *2011-12-06T02:00Z *does NOT exists
> > (Actually it was a type mistake for* **2011-12-06T00:00Z*)------------
> >
> > When I run the coordinator, I get the error message "v*ariable
> > [impInputData] cannot be resolved*" however this error message is
> > misleading.
> >
> > Should'nt the message say missing dependency or data doesnot exist??
> >
> > Thanks,
> > -Idris
> >
>

Re: Oozie coordinator error message misleading

Posted by Alejandro Abdelnur <tu...@cloudera.com>.
Hi Idris,

Would you please file a JIRA to improve the error message? Also, when doing
so, would you be a bit more clear on what was your typo error and and the
log error you've got?

Thanks.

Alejandro

On Wed, Dec 7, 2011 at 7:13 AM, Idris Ali <ps...@gmail.com> wrote:

> Hi,
>
> I am using CDH3U0 and Oozie 3.0.2.
>
> My coordinator.xml has entry :
>
> (under datasets)
>
>        <dataset name="impression-logs" frequency="${coord:minutes(20)}"
> initial-instance="*2011-12-06T02:00Z*" timezone="UTC">
>
>
> <uri-template>${nameNode}/user/${coord:user()}/airavat/input/HourlyImpSummary/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}/0</uri-template>
>            <done-flag></done-flag>
>        </dataset>
>
> and (under input-events)
>        <data-in name="impressionInputEvent" dataset="impression-logs">
>            <start-instance>${coord:current(-2)}</start-instance>
>            <end-instance>${coord:current(0)}</end-instance>
>        </data-in>
>
> and (under workflow->configuration)
>                <property>
>                    <name>impInputData</name>
>                    <value>${coord:dataIn('impressionInputEvent')}</value>
>                </property>
>
>
> -------------My initial instance *2011-12-06T02:00Z *does NOT exists
> (Actually it was a type mistake for* **2011-12-06T00:00Z*)------------
>
> When I run the coordinator, I get the error message "v*ariable
> [impInputData] cannot be resolved*" however this error message is
> misleading.
>
> Should'nt the message say missing dependency or data doesnot exist??
>
> Thanks,
> -Idris
>