Monish
Monish

Reputation: 67

oozie workflow fs:isDir

In oozie workflow I am trying to use fs:isDir function but it is not allowing me to pass variable in it.

${fs:isDir(${temp}) eq true}

It's throwing an error that { is illegal character. It is not working ${fs:isDir($temp) eq true}

Please let me know how do I do that.

Thanks.

Upvotes: 0

Views: 457

Answers (1)

Oleksii
Oleksii

Reputation: 1111

This should work

${fs:isDir(temp) == true}

Upvotes: 2

Related Questions