Custom Query (431 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (100 - 102 of 431)

Ticket Resolution Summary Owner Reporter
#364 wontfix IZ2069: qstat -j JOB_NAME -xml uses differet letter case ovid
Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2069]

        Issue #:      2069             Platform:     Sun      Reporter: ovid (ovid)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.0u4       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     qstat -j JOB_NAME -xml uses differet letter case
   Status whiteboard:
      Attachments:

     Issue 2069 blocks:
   Votes for issue 2069:


   Opened: Thu Jun 1 14:59:00 -0700 2006 
------------------------


qstat -j JOB_NAME -xml uses different letter case (lower) compared to
qstat -j JOB_NAME. This is inconsistent and hard to compare.

here's qstat -j ERROR:

.....


sge_o_shell:                /bin/csh
sge_o_workdir:              /export/sgetest
sge_o_host:                 dt218-123
account:                    sge
merge:                      y
mail_list:                  sgetest@dt218-123
notify:                     FALSE



and here's qstat -j ERROR -xml:


....

 <JB_uid>9901</JB_uid>
      <JB_group>sgegroup</JB_group>
      <JB_gid>9901</JB_gid>
      <JB_account>sge</JB_account>
      <JB_notify>false</JB_notify>
      <JB_type>0</JB_type>
#367 fixed IZ2073: qstat -f -qs E broken ovid
Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2073]

        Issue #:      2073             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 -f -qs E broken
   Status whiteboard:
      Attachments:

     Issue 2073 blocks:
   Votes for issue 2073:


   Opened: Wed Jun 14 09:00:00 -0700 2006 
------------------------


qstat -f -qs E is totally broken.

I get the following:

sgetest@dt218-123# qstat -f -qs E
sgetest@dt218-123# qstat -f -qs E -xml


But, without the -f flag, it seems OK

sgetest@dt218-123# qstat -qs E
job-ID  prior   name       user         state submit/start at     queue
                 slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
  11589 0.50500 ERROR      sgetest      Eqw   06/14/2006 06:57:45
                     1
  11590 0.00000 HOLD       sgetest      hqw   06/14/2006 06:57:45
                     1
sgetest@dt218-123# qstat -qs E -xml
<?xml version='1.0'?>
<job_info  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <job_info>
    <job_list state="pending">
      <JB_job_number>11589</JB_job_number>
      <JAT_prio>0.50500</JAT_prio>
      <JB_name>ERROR</JB_name>
      <JB_owner>sgetest</JB_owner>
      <state>Eqw</state>
      <JB_submission_time>06/14/2006 06:57:45</JB_submission_time>
      <queue_name></queue_name>
      <slots>1</slots>
    </job_list>
    <job_list state="pending">
      <JB_job_number>11590</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>06/14/2006 06:57:45</JB_submission_time>
      <queue_name></queue_name>
      <slots>1</slots>
    </job_list>
  </job_info>
</job_info>

   ------- Additional comments from roland Thu Nov 16 01:06:35 -0700 2006 -------
The comments section is incorrect because it mixes job error with queue error.
The "qstat -qs E" switch is a queue filter and shows all queues in error state
AND all pending jobs. The "qstat -f -qs E" should print the same output as
"qstat -qs E". This is not the case, it prints nothing.

My suspicion is qstat -f recognize no queues are selected and then print's no
output. This is wrong because it has to print the pending jobs.
#369 fixed IZ2075: help output for qstat -explain should mention only usable for queue instance Dave Love <d.love@…> ovid
Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2075]

        Issue #:      2075             Platform:     Sun      Reporter: ovid (ovid)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.0u4       CC:    None defined
        Status:       NEW              Priority:     P5
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     help output for qstat -explain should mention only usable for queue instance
   Status whiteboard:
      Attachments:

     Issue 2075 blocks:
   Votes for issue 2075:


   Opened: Thu Jun 15 15:50:00 -0700 2006 
------------------------


qstat -explain E broken

Here's the plain output:


sgetest@dt218-130# qstat -explain E
queuename                      qtype used/tot. load_avg arch          states
----------------------------------------------------------------------------
all.q@dt218-130                BIPC  1/20      0.05     lx24-x86
   1378 0.50617 PENDING    sgetest      r     06/15/2004 15:39:03     1 2
----------------------------------------------------------------------------
all.q@dt218-141                BIPC  2/40      0.02     sol-x86
   1374 0.55500 ARRAY      sgetest      r     06/15/2004 15:39:03     1 2
   1378 0.50617 PENDING    sgetest      r     06/15/2004 15:39:03     1 1
----------------------------------------------------------------------------
all.q@dt218-155                BIPC  0/20      0.36     sol-amd64
----------------------------------------------------------------------------
all.q@dt218-170                BIPC  2/40      0.00     sol-amd64
   1374 0.55500 ARRAY      sgetest      r     06/15/2004 15:39:03     1 3
   1378 0.50617 PENDING    sgetest      r     06/15/2004 15:39:03     1 3
----------------------------------------------------------------------------
all.q@dt218-32                 BIPC  3/4       0.01     sol-sparc
   1373 0.55500 SEQUENTIAL sgetest      r     06/15/2004 15:39:03     1
   1374 0.55500 ARRAY      sgetest      r     06/15/2004 15:39:03     1 4
   1378 0.50617 PENDING    sgetest      r     06/15/2004 15:39:03     1 4
----------------------------------------------------------------------------
all.q@dt218-65                 BIPC  1/40      0.02     sol-sparc64
   1374 0.55500 ARRAY      sgetest      r     06/15/2004 15:39:03     1 1

############################################################################
 - PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS
############################################################################
   1376 0.55500 ERROR      sgetest      Eqw   06/15/2004 15:38:56     1
   1377 0.00000 HOLD       sgetest      hqw   06/15/2004 15:38:56     1


Pretty much like qstat -f.

The XML output is no better:

sgetest@dt218-130# qstat -explain E -xml
<?xml version='1.0'?>
<job_info  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <queue_info>
    <Queue-List>
      <name>all.q@dt218-130</name>
      <qtype>BIPC</qtype>
      <slots_used>1</slots_used>
      <slots_total>20</slots_total>
      <load_avg>0.04000</load_avg>
      <arch>lx24-x86</arch>
      <job_list state="running">
        <JB_job_number>1378</JB_job_number>
        <JAT_prio>0.50617</JAT_prio>
        <JB_name>PENDING</JB_name>
        <JB_owner>sgetest</JB_owner>
        <state>r</state>
        <JAT_start_time>06/15/2004 15:39:03</JAT_start_time>
        <slots>1</slots>
        <tasks>2</tasks>
      </job_list>
    </Queue-List>
....

<job_info>
    <job_list state="pending">
      <JB_job_number>1376</JB_job_number>
      <JAT_prio>0.55500</JAT_prio>
      <JB_name>ERROR</JB_name>
      <JB_owner>sgetest</JB_owner>
      <state>Eqw</state>
      <JB_submission_time>06/15/2004 15:38:56</JB_submission_time>
      <slots>1</slots>
    </job_list>
    <job_list state="pending">
      <JB_job_number>1377</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>06/15/2004 15:38:56</JB_submission_time>
      <slots>1</slots>
    </job_list>
  </job_info>
</job_info>


But the help flag says

sgetest@dt218-130#  qstat -help
SGE 6.0u4
usage: qstat [options]
        [-ext]                            view additional attributes
        [-explain a|c|A|E]                show reason for c(onfiguration
amiguous), a(larm), suspend A(larm), E(rror) state

   ------- Additional comments from roland Thu Nov 16 01:04:17 -0700 2006 -------
The comments section is incorrect because it mixes job error with queue error.
The "qstat -qs E" switch is a queue filter and shows all queues in error state
AND all pending jobs. The "qstat -f -qs E" should print the same output as
"qstat -qs E". This is not the case, it prints nothing.

My suspicion is qstat -f recognize no queues are selected and then print's no
output. This is wrong because it has to print the pending jobs.

   ------- Additional comments from roland Thu Nov 16 01:07:37 -0700 2006 -------
The last comment is wrong (belongs to issue 2073)

   ------- Additional comments from roland Thu Nov 16 01:08:51 -0700 2006 -------
qstat is not broken. The '-explain' switch shows only the state of a queue
instance. It's correctly documented in the man page:
-explain a|A|c|E
          'c' displays the reason for the configuration ambiguous
          state of a queue instance. 'a' shows the reason for the
          alarm  state.  Suspend  alarm  state  reasons  will  be
          displayed  by  'A'. 'E' displays the reason for a queue
          instance error state.

In the mentioned example a job is in error state. The reason for this error can
be found in the 'qstat -j <jobid' output.

The -help output should be improved.
Note: See TracQuery for help on using queries.