[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Condor semantics question
- Date: Fri, 3 Jul 2009 11:38:45 -0400
- From: Ian Chesal <ICHESAL@xxxxxxxxxx>
- Subject: Re: [Condor-users] Condor semantics question
> 1. What is the difference between a ClassAd and a Job?
ClassAds are a language for describing datasets. On the surface a
ClassAd looks like a collection of key/value pairs but they're
considerably more than that: they're named expressions. See:
and for even more detail http://www.cs.wisc.edu/condor/classad/ --
everything in a Condor system is described by a ClassAd: Jobs,
Schedulers, Execution Slots, etc.
A Job is represented by a ClassAd. Usually it has:
MyType = "Job"
In it. But maybe not always. Here's a list of all the ClassAd attributes
a job can have:
> Is the former just a definition and the latter an instance of the
> once submitted?
The former is a representation of a collection of expressions, the
latter is a use of that representation: a Job presents a particular
ClassAd to the Condor system. An execution slot presents another type of
ClassAd. The condor_collector daemon for your system collects all the
different ClassAds from all the different pieces in one place. The
condor_negotiator daemon matches Job ClassAds to execution slot ClassAds
by evaluation both of their ClassAds in a common context in a process
known as matchmaking.
> 2. What is the name given to the outcome or the result from having
> completed a job? The answer should make it easier for me
> to grep the documentation for more information.
Outcome results are stored in the Job's ClassAd. When you submit a job
to a condor_schedd daemon it creates a Job ClassAd in the system. That
ClassAd stores the state of the Job throughout its lifecycle. And when
it's done it stores the end state plus some history information.
Depending on how your system is set up that information either hangs
around in the condor_shedd's queue until you clear it, or it gets punted
to the history file in which case you can find it using the
condor_history command. There's also an optional RDBMS piece to Condor
called Quill you can fire up that'll hold on to all the ClassAd
information for you system (including Machine ClassAds so you can see
machine use and job run history by machine) for you.
Hope that helps.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.