sq-shen / iscml

Automatically exported from code.google.com/p/iscml
0 stars 0 forks source link

multiple generic worker instances attempting to service the same tasks #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. submit single task
2. grep log files for task name
3. observe error messages of workers attempting to move task file simultaneously

What is the expected output? What do you see instead?
expected: single worker reading task file

observed: log file error messages from several workers attempting to service 
same file

Please use labels and text to provide additional information.

Original issue reported on code.google.com by terry.fe...@gmail.com on 2 Mar 2012 at 6:38

GoogleCodeExporter commented 9 years ago
the elegant solution is to implement file locking, however, I've applied a 
temporary solution of simply suppressing the console output of the file 
movement operation

Original comment by terry.fe...@gmail.com on 2 Mar 2012 at 6:54

GoogleCodeExporter commented 9 years ago

Original comment by terry.fe...@gmail.com on 10 Jul 2012 at 8:40