I am not sure if the version will help.

the oozie version is  4.1.0-cdh5.12.0

I tried many tests to find out why the example runs fail. One of them is to 
change the name space of the coordinator.xml from 0.5 to
<coordinator-app name="coord-input-logic" frequency="${coord:hours(1)}" 
start="${start}" end="${end}" timezone="UTC"
    xmlns="uri:oozie:coordinator:0.1">
and the error message changes, as attached pic 5.jpg. So I doubt that is it a 
XML namespace issue. With the question I checked all other examples with 
coordinator.xml, only coord-input-logic example is using 
uri:oozie:coordinator:0.5.

I got another question:
Does the input event can recursively monitor all the _SUCCESS files in a HDFS 
path?  and respectively start different workflow?

Thanks a lot.

Hui Luo

________________________________
发件人: 罗 辉 <[email protected]>
发送时间: 2017年9月11日 10:51:00
收件人: [email protected]; [email protected]
主题: 答复: Error in running coord-input-logic example



hi Peter

     I didn't get the full error log trace except the Error shown in the 
picture attached in previous mail. I tried, but can't find an argument to print 
full trace. BTW, is there a way to get a full trace when using the command line 
tool?

     I've taken pictures for the coordinator.xml, as 2.jpg and 3.jpg. I didn't 
modify this xml. I also attached my job.properties as 4.jpg.


Hui Luo



________________________________
发件人: Peter Cseh <[email protected]>
发送时间: 2017年9月8日 20:32:48
收件人: [email protected]
主题: Re: Error in running coord-input-logic example

Hi,

Can you attach a full stack trace, the coordinator example and the command
you're executing when getting the error?
Thanks
gp

On Fri, Sep 8, 2017 at 1:22 PM 罗 辉 <[email protected]> wrote:

> hi there
>
>       I got a problem in running the coord-input-logic example. I've
> modified namenode,jobtracker accordingly in the job.properties , and also
> put them into a right path of HDFS. However an error take place  as the
> attached photo. The error code is E0701, and says that can not find the
> declaration of element 'coordinator-app'.
>
>      I didn't make any changes in the coordinator.xml and workflow.xml for
> this example.
>
>       Any idea is welcome, thank you.
>
>
>

Reply via email to