Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Oozie fs action

Highlighted

Oozie fs action

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">

<switch>

<case to="Export">

${fs:exists(/dev/praveen/test/*)}

</case>

<default to="statusLog"/>

</switch>

</decision>

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

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

Appreciate any help on this ......

Don't have an account?
Coming from Hortonworks? Activate your account here