incubator-oozie-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nimra Choudhary <nim...@microsoft.com>
Subject Issue in using shared datasets in coordinator.xml
Date Thu, 12 Apr 2012 13:45:27 GMT
Hi,

We have a coordinator.xml where we are using shared datasets like :

<datasets>
<include> hdfs://localhost:8020/user/root/examples/mydatasets.xml</include>
</datasets>


The mydatasets.xml file has the below datasets :

<datasets xmlns="uri:oozie:coordinator:0.1">
<dataset name="MinLogs" frequency="${coord:minutes(5)}"
           initial-instance="2012-04-11T01:12:40Z" timezone="UTC">
    <uri-template>hdfs://localhost:8020/user/root/examples/output-data1/logs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
  </dataset>
</datasets>

But on running the coordinator job, it is not able to find Minlogs which we are referring
to in the co-ordinator.xml. It is able find the mydatasets.xml file but not able to resolve
Minlogs being referred.  We get the below error:
java.lang.RuntimeException: undefined dataset: MinLogs

Regards,
Nimra


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message