Can oozie monitor a directory for new files in hdfs directory?
<p>I need to perform the following workflow on my hadoop cluster.</p>

<ul>
<li>New files are added into an hdfs directory, /export/ (multiple times a day)</li>
<li>Files are in two formats: *_A.csv and *_B.csv</li>
<li>Copy all *_A.csv into /hive/dumptable_a/</li>
<li>Copy all *_B.csv into /hive/dumptable_b/</li>
<li>Run hive insert query to load partitioned table A from dumptable_a</li>
<li>Run hive insert query to load partitioned table B from dumptable_b</li>
<li>Delete data from /hive/dumptable_a/ and /hive/dumptable_b/</li>
</ul>

<p>Can oozie be set up to monitor /export/ for new files, and kick off the workflow?
If oozie cannot do this, or if it is not the right tool, what is the best alternative?</p>