-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to pass required files to a CU via input_data CUD attribute. #174
Comments
Hi Pradeep, Can you elaborate, I don’t really understand what you mean. Thanks Gr, Mark On 09 Feb 2014, at 20:19 , pradeepmantha [email protected] wrote:
|
Consider below example - I have a task which created 1000 files, where for each file, I wanna create a task, which takes the file itself as input. With current 'input_data' CUD attribute, I can only pass, all the contents of DU. So, I either need to create 1000 intermediate DUS, one for each file, and pass the DU as input to the task, or pass the 1000 files for each CU without creating intermediate DUS. Allowing to Specify required input files as below, will help to avoid intermediate creation of DUS and just get the required files from the DUS. "input_data": [ Again this could be a flexibility that user/application can use. |
Hi Pradeep, On 19 Feb 2014, at 19:26 , pradeepmantha [email protected] wrote:
Ok, clear.
Correct, DU’s are atomic units for good reasons.
Agreed, whats the problem with that? Isn’t that exactly what you want in this situation?
Thats obviously not what you want.
What does the “just get the required files” actually mean here? What are the exact semantics of that? In general, I believe I see what you want to do, but as far as I can tell this can be expressed perfectly with the current model, without breaking the actual semantics. More over, for this specific pattern, it makes sense to add a layer on top of PD, which is exactly what do you did, right? Gr, Mark |
Hi, On Wed, Feb 19, 2014 at 11:36 AM, Mark Santcroos
|
Having something like will be great. Currently we need to segregate DUs with all the files required for a CU. But this could be optimized and avoid unnecessary DU creation.
The text was updated successfully, but these errors were encountered: