One way (a bit hacky) is to have the 2nd operator monitor an empty directory. Then, when the 1st is done reading, it sends a control tuple to a "file-link" operator; that operator creates symbolic links from the directory monitored by the 2nd operator to the actual input files. That should then trigger the 2nd input operator to do its thing.
Ram On Wed, Dec 2, 2015 at 4:43 PM, Isha Arkatkar <i...@datatorrent.com> wrote: > Hi all, > > I have an application with 2 input file reader operators. In this case, > want to trigger start reading from 2nd input location, only after 1st > operator is done reading. What is the best way to do this? > > Thanks! > Isha >