Did you try this:

<uri-template>${nameNode}/user/hadoop/examples/output-data/formal/${YEAR}${MONTH}${DAY}/</uri-template>
?
Don't understand the reason to replace path separators later...
16.11.2013 17:52 пользователь "renguihe" <[email protected]> написал:

> hi,
> I want to get unique form of the outputdata uri.
> In my coordinator.xml,I write like this:
>        <dataset name="outputdata" frequency="${coord:days(1)}"
> initial-instance="${start}" timezone="UTC">
>
> <uri-template>${nameNode}/user/hadoop/examples/output-data/formal/${YEAR}/${MONTH}/${DAY}/</uri-template>
>         </dataset>
>
> In my job.properties,I write like this:
> <argument>${replaceAll(${outputData},"[^0-9]",null)}</argument>
>
> I wann to get "20131116" from in my action,but I get a error when I submit
> the coordinator:
> Encountered "{", expected one of [".", ">", "gt", "<", "lt", "==", "eq",
> "<=", "le", ">=", "ge", "!=", "ne", ")", ",", "[", "+", "-", "*", "/",
> "div", "%", "mod", "and", "&&", "or", "||", ":", "(", "?"]
>
> can someone get me out?
> thx!
>
>
>
>
> HENRY

Reply via email to