Skip to content
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

MapResult.wait and .tail should read the HTCondor event log #57

Closed
JoshKarpel opened this issue Oct 11, 2018 · 1 comment · Fixed by #73
Closed

MapResult.wait and .tail should read the HTCondor event log #57

JoshKarpel opened this issue Oct 11, 2018 · 1 comment · Fixed by #73
Assignees
Labels
enhancement New feature or request

Comments

@JoshKarpel
Copy link
Contributor

Via the bindings, of course - looks like htcondor.read_events is the right function.

@JoshKarpel JoshKarpel added the enhancement New feature or request label Oct 11, 2018
@JoshKarpel JoshKarpel self-assigned this Oct 11, 2018
@JoshKarpel
Copy link
Contributor Author

Update from TJ - the right function in 8.7.10 is

events = htcondor.JobEventLog(logfile_name)

for event in events.events(timeout):
      # look at event.type to determine what type of event it is
      # event.type is one of JobEventType enum
      # of interest:  SUBMIT, EXECUTE, JOB_TERMINATED
      # failures: EXECUTABLE_ERROR, JOB_HELD, SHADOW_EXCEPTION
      # when using late materialization : CLUSTER_SUBMIT, CLUSTER_REMOVE, FACTORY_PAUSED, FACTORY_RESUMED

htcondor.read_events is broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant