Opened 14 years ago
Closed 8 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 |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2065]
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 URL: * Summary: qstat -r -xml is missing entry Status whiteboard: Attachments: 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="http://www.w3.org/2001/XMLSchema"> <queue_info> <job_list state="running"> <JB_job_number>7675</JB_job_number> <JAT_prio>0.50500</JAT_prio> <JB_name>STARTED</JB_name> <JB_owner>sgetest</JB_owner> <state>r</state> <JAT_start_time>05/26/2006 13:07:38</JAT_start_time> <queue_name>all.q@dt218-123</queue_name> <slots>1</slots> <hard_req_queue>all.q</hard_req_queue> </job_list> 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 1 Full jobname: HOLD Hard Resources: Soft Resources: Hard requested queues: all.q while qstat -r -xml looks like this: ...... <job_list state="pending"> <JB_job_number>7750</JB_job_number> <JAT_prio>0.00000</JAT_prio> <JB_name>HOLD</JB_name> <JB_owner>sgetest</JB_owner> <state>hqw</state> <JB_submission_time>05/26/2006 14:18:21</JB_submission_time> <queue_name></queue_name> <slots>1</slots> <hard_req_queue>all.q</hard_req_queue> </job_list> </job_info> </job_info> 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"> <JB_job_number>7794</JB_job_number> <JAT_prio>0.55500</JAT_prio> <JB_name>AMD64</JB_name> <JB_owner>sgetest</JB_owner> <state>r</state> <JAT_start_time>05/26/2006 15:13:28</JAT_start_time> <queue_name>all.q@dt218-151</queue_name> <slots>1</slots> <tasks>5</tasks> <hard_request name="arch" resource_contribution="0.000000">lx24-amd64</hard_request> </job_list> Note that here we don't have the "arch=" part.
Change History (1)
comment:1 Changed 8 years ago by dlove
- Resolution set to invalid
- Severity set to minor
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Looks at worst to be due to lack of doc on element names.