I want to check whether a file with a specific name exists or not in the given HDFS location. My file name is something like this: TEST_20190930.csv
I did some searches on the internet, found that fs:exists
can help us to check this.
I want to check in my coordinator oozie if the file exists with the mentioned name (Test_20190930
) where 20190903
is a date of receiving the file on the HDFS.