<div dir="ltr">Lorenzo,<div>This may not work for your purposes, but a simple solution similar to what I do, is to actually do step 1 in the wrapper before the mapping is done. This guarantees that all files are in place.</div>

<div><br></div><div style>Best,</div><div style>Glen</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 10:43 AM, Lorenzo Pesce <span dir="ltr"><<a href="mailto:lpesce@uchicago.edu" target="_blank">lpesce@uchicago.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a simple problem:<br>
step 1: I run an app that splits a file in a group of files and we don't know how many they are.<br>
step2: I want to map those files using a mapper after the fact<br>
<br>
Problem is that the mapper doesn't know that it can't run till step 1 is done because it has no input files. How can I tell the mapper (and what follows it by consequence since those files will not be there) that it has to wait for step 1 to b finished?<br>


<br>
Thanks,<br>
<br>
 Lorenzo<br>
_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</blockquote></div><br></div>