Task Buffer for PANDA

This document describes the status and progress of the Task Buffer for Panda.

Functions

DB Implementation

see PandaDB

API

* Store jobs into database

  storeJobs(jobs): 
     parameters
       jobs: list of JobSpecs
     return
       list of tuples (pandaID,jobDefID,jobName).
       pandaID is None when the job has not been stored.

* Update job information

  updateJobs(jobs):
     parameters
       jobs: list of JobSpecs

* Update job status only

  updateJobStatus(jobIDs,status):
     parameters
       jobIDs: list of pandaIDs
       status: list of status

* Get jobs

  getJobs(nJobs,siteName)
     parameters
       nJobs: number of jobs in integer
       siteName: site name in string
     return
       list of JobSpecs

* Get job status only

  getStatus(jobIDs)
     parameters
       jobIDs: list of pandaIDs
     return
       list of status

* Get overall job information

  peekJobs(jobIDs)
     parameters
       jobIDs: list of pandaIDs
     return
       list of JobSpecs

* Query PandaID

  queryPandaIDs(jobDefIDs)
     parameters
       jobDefIDs: list of jobDefIDs
     return
       list of PandaIDs. Each PandaID is for the latest attempt.
       None is returned when corresponding PandaID is not found.

Development Team

TadashiMaeno


Major updates:
-- TadashiMaeno - 24 Aug 2005
-- KaushikDe - 01 Aug 2005



Responsible: KaushikDe

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng BThr.png r1 manage 31.1 K 2005-08-25 - 06:05 TadashiMaeno  
Topic revision: r18 - 2007-02-02 - StephenHaywood
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback