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

Oozie fs action - Hdfs directory exists or not

Rising Star

I am getting error which i am trying to check if the hdfs directory or not and i am trying check it through oozie fs action and below is the code, however, i am getting error. Appreciate any help on this.

</action> <decision name="deleteFrompraveenPostCondition">


<case to="Export">



<default to="statusLog"/>



--------------------------------- ERROR ----------------------------------------------------------

Encountered "/", expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>, <STRING_LITERAL>, "true", "false", "null", "(", ")", "-", "not", "!", "empty", <IDENTIFIER>]

Appreciate any help on this ......