How to check whether the file exist in HDFS location, using oozie?
you can use EL expression in oozie like:
<decision name="CheckFile"> <switch> <case to="nextOozieTask"> ${fs:exists('/path/test_08_01_2016.csv')} <!--do note the path which should be in ''--> </case> <default to="MailActionFileMissing" /> </switch></decision>
You can also build the name of the file using simple shell script using capture output.