Opened 8 years ago

#1353 new defect

qstat -xml -j output changes after a job is altered with qalter -l

Reported by: dlove Owned by:
Priority: normal Milestone:
Component: sge Version: 8.0.0a
Severity: minor Keywords:
Cc:

Description

From https://github.com/gridengine/gridengine/issues/4

In the output of qstat -xml -j when a job first exists in gridengine there is:

<JB_hard_resource_list>
    <qstat_l_requests>
      <CE_name>h_vmem</CE_name>
      <CE_valtype>4</CE_valtype>
      <CE_stringval>660M</CE_stringval>
      <CE_doubleval>692060160.000000</CE_doubleval>
      <CE_relop>0</CE_relop>
      <CE_consumable>1</CE_consumable>
      <CE_dominant>0</CE_dominant>
      <CE_pj_doubleval>0.000000</CE_pj_doubleval>
      <CE_pj_dominant>0</CE_pj_dominant>
      <CE_requestable>0</CE_requestable>
      <CE_tagged>0</CE_tagged>
    </qstat_l_requests>
</JB_hard_resource_list>

However, if qalter -l is used to alter the job, the same section of the output looks like:

<JB_hard_resource_list>
    <element>
      <CE_name>h_vmem</CE_name>
      <CE_valtype>4</CE_valtype>
      <CE_stringval>660M</CE_stringval>
      <CE_doubleval>692060160.000000</CE_doubleval>
      <CE_relop>0</CE_relop>
      <CE_consumable>1</CE_consumable>
      <CE_dominant>0</CE_dominant>
      <CE_pj_doubleval>0.000000</CE_pj_doubleval>
      <CE_pj_dominant>0</CE_pj_dominant>
      <CE_requestable>0</CE_requestable>
      <CE_tagged>0</CE_tagged>
    </element>
</JB_hard_resource_list>

So the <qstat_l_requests> tag now becomes an <element> tag.

Change History (0)

Note: See TracTickets for help on using tickets.