pytask-dev / pytask-dev/pytask-stata
ENH: Fix issue with parallel execution of the same do-file on Unix systems.
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 1
- Merge medio
- 7g 8h
- PR unite (30g)
- 10
Descrizione
Is your feature request related to a problem?
Stata produces log files which have the same name as the executed do-file when used in batch mode.
Parallelizing over the same do-file ...
- may create multiple workers which want to create the same log file at the same time.
- may overwrite the log produced by one task with the information from another task. Whether a task fails is partly inferred from the log file,
On Windows, there is a hacky and maybe not even intended work-around to rename the log file for every task which does not work on Unix.
Describe the solution you'd like
Nothing discussed so far.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
No file, test, or entry point is named, so first locate the pytask-stata code that launches Stata do-files and handles their logs, then inspect the Unix and Windows execution paths. Done means parallel runs of the same do-file keep separate logs on Unix, avoid overwriting one another, and still support task-failure detection.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100