title: Oozie generate set of files in directory
body: <p>I'm trying to ingest log files into hadoop.</p>
  
  <p>I'd like to use oozie to trigger my ingestion task (written in spark),and have oozie pass the filenames to my task.</p>
  
  <p>I expect the log files to be set out as:</p>
  
  <pre><code>/example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log1/Log1.log
  /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log1/Log1.1.log
  /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log1/Log1.2.log
  /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log2/Log2.log
  /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log2/Log2.1.log
  /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log2/Log2.2.log
  </code></pre>
  
  <p>(etc).</p>
  
  <p>So, now I have two problems:
  1. How to get oozie to generate all the file names under /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log1/ and pass it to my app; and</p>
  
  <ol start="2">
  <li>How to get oozie to in parallel generate all the file names under /example/${YEAR}-${MONTH}-${DAY}-${HOUR}:${MINUTE}/Log2/ and pass it to a second invocation of my task.</li>
  </ol>