Opened 15 years ago

Closed 10 years ago

#361 closed defect (invalid)

IZ2065: qstat -r -xml is missing entry

Reported by: ovid Owned by:
Priority: low Milestone:
Component: sge Version: 6.0u4
Severity: minor Keywords: Sun clients


[Imported from gridengine issuezilla]

        Issue #:      2065             Platform:     Sun      Reporter: ovid (ovid)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.0u4       CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
       * Summary:     qstat -r -xml is missing entry
   Status whiteboard:

     Issue 2065 blocks:
   Votes for issue 2065:

   Opened: Fri May 26 13:48:00 -0700 2006 

qstat -r -xml does not have Master queue entry.

Here's a fragment of a plain qstat -r output:

sgetest@dt218-123# qstat -r
job-ID  prior   name       user         state submit/start at     queue
                 slots ja-task-ID
   7675 0.50500 STARTED    sgetest      r     05/26/2006 13:07:38
all.q@dt218-123                    1
       Full jobname:     STARTED
       Master queue:     all.q@dt218-123
       Hard Resources:
       Soft Resources:
       Hard requested queues: all.q


and here's the corresponding qstat -r -xml output:

sgetest@dt218-123# qstat -r -xml
<?xml version='1.0'?>
<job_info  xmlns:xsd="">
    <job_list state="running">
      <JAT_start_time>05/26/2006 13:07:38</JAT_start_time>

Notice that there is no Master queue entry in the XML output.

   ------- Additional comments from ovid Fri May 26 14:56:48 -0700 2006 -------

It also lacks entry for Full hjobname.

qstat -r looks like this:


  7750 0.00000 HOLD       sgetest      hqw   05/26/2006 14:18:21
       Full jobname:     HOLD
       Hard Resources:
       Soft Resources:
       Hard requested queues: all.q

while qstat -r -xml looks like this:


  <job_list state="pending">
      <JB_submission_time>05/26/2006 14:18:21</JB_submission_time>

Note there is only one entry for JB_name, but not for Full jobname.

   ------- Additional comments from ovid Fri May 26 15:52:17 -0700 2006 -------
For Hard resource, output is inconsistent between qstat -r and
qstat -r -xml.

For qstat -r, we have:


 7794 0.55500 AMD64      sgetest      r     05/26/2006 15:13:28 all.q@dt218-151
                   1 5
       Full jobname:     AMD64
       Master queue:     all.q@dt218-151
       Hard Resources:   arch=lx24-amd64 (0.000000)
       Soft Resources:

while for qstat -r -xml, we have

 <job_list state="running">
      <JAT_start_time>05/26/2006 15:13:28</JAT_start_time>
      <hard_request name="arch"

Note that here we don't have the "arch=" part.

Change History (1)

comment:1 Changed 10 years ago by dlove

  • Resolution set to invalid
  • Severity set to minor
  • Status changed from new to closed

Looks at worst to be due to lack of doc on element names.

Note: See TracTickets for help on using tickets.