pytask-dev / pytask-dev/pytask-stata

ENH: Fix issue with parallel execution of the same do-file on Unix systems.

Aperta
#3 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement
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 ...

  1. may create multiple workers which want to create the same log file at the same time.
  2. 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. 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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.