Job Dispatcher for Panda

This document describes the status and progress of the job dispatcher for Panda.

Functions

  • Respond to PandaPilotJobs
  • Ask PandaTaskBuffer for highest priority job which meets site requirements and where input files have already been pre-staged
  • Create executable job wrapper and send to pilot job
  • Monitor progress of jobs and update PandaTaskBuffer

Architecture

jd.png

REST API

Request Format

https://xxx/method&parameter1=value1&parameter2=value2&...

Response Format

<?xml version="1.0" ?>
<Response>
     <StatusCode>
          [status code]
     </StatusCode>
     [xml-payload]
</Response>

Methods


Get Jobs
method panda/getJobs
parameter siteName site name (required)
nJobs number of jobs (1 : default)
timeout timeout in second (60 : default)
cpu type of CPU (None : default)
mem size of memory (None : default)
diskSpace size of disk space (None : default)
status codes 0 succeeded
10 timeout (Panda server is busy)
20 no available jobs

example response

   <Job PandaID="123">
      <swRelease>
         Atlas-10.0.1
      </swRelease>
      <trfName>
         JobTransforms-10.0.1.5/share/rome.1001.reco.MuonDigit.OverrideRE.trf
      </trfName>
      <inFiles>
         inf1,inf2,inf3
      </inFiles>
      <outFiles>
         outf1,outf2
      </outFiles>
      <jobPars>
          1023 233 -c="hoge"
      </jobPars>
   </Job>


Get Job staus

method panda/getJobStatus
parameter jobId pandaID (required)
timeout timeout in second (60 : default)
status codes 0 succeeded
10 timeout (Panda server is busy)
30 failed

example response

   <state>
      running
   </state> 


Update Job status

method panda/updateJob
parameter jobId pandaID (required)
state status (required)
exitcode exit code (None : default)
timestamp time stamp (None : default)
status codes 0 succeeded
10 timeout (Panda server is busy)
30 failed

Implementation

Python class/methods called by PandaTaskBuffer

Development Team

TadashiMaeno


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



Responsible: KaushikDe

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2006-10-06 - TorreWenaus
 
    • 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