Support Questions
Find answers, ask questions, and share your expertise

Oozie wf decision node ... is this how to pass the parameters into decision?

Oozie wf decision node ... is this how to pass the parameters into decision?

Contributor

I am getting this strange error that does not make any sense to me: 

 

Encountered "(", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", "?"]

 

This error is given on a decision node with the following decision: 

 

Hue   Oozie Editor Dashboard   Edit Workflow.png

 

 

The dashboard for the failed workflow showed the param ${input_jp_prod_del} has been resolved correctly: 

 

input_jp_prod_delhdfs://nameservice1/data/jp/core/Product/2013-05-29/DELETE

 

 

What did I do wrong?

 

3 REPLIES 3

Re: Oozie wf decision node ... is this how to pass the parameters into decision?

The screenshot does not seem to work. Could you try to post it again or copy/paste the 'if'?

Re: Oozie wf decision node ... is this how to pass the parameters into decision?

Contributor

Here is the if: 

 

${fs.exists(${input_jp_prod_del})=="true"}

Re: Oozie wf decision node ... is this how to pass the parameters into decision?

Use 'fs:exist' instead of 'fs.exist'?

 

${fs:exists(${input_jp_prod_del})=="true"}