Opened 19 years ago

Closed 8 years ago

#41 closed enhancement (fixed)

IZ258: output of job/jatask/petask ids

Reported by: joga Owned by:
Priority: normal Milestone:
Component: sge Version: 5.3
Severity: minor Keywords: cleanup


[Imported from gridengine issuezilla]

        Issue #:      258              Platform:     All           Reporter: joga (joga)
       Component:     gridengine          OS:        All
     Subcomponent:    cleanup          Version:      5.3              CC:    None defined
        Status:       STARTED          Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
       * Summary:     output of job/jatask/petask ids
   Status whiteboard:

     Issue 258 blocks:
   Votes for issue 258:

   Opened: Wed May 15 06:27:00 -0700 2002 

We have dozens of places in code formatting job,
jatask and optionally petask ids (in many
different ways).

A function should be created
sge_get_job_task_id(job_id, ja_task_id, pe_task_id)
returning a const char *

and all formatting code should be replaced by a
call of this function.

   ------- Additional comments from joga Wed May 22 03:27:08 -0700 2002 -------

   ------- Additional comments from joga Wed May 22 06:14:44 -0700 2002 -------
created a function job_get_id_string(job_id, ja_task_id, pe_task_id)
in sge_job_jatask.* (libgdi) that returns a formatted string
containing the id.
Output format can be localized.

Changed about 2 dozen code pieces outputting job/jatask/petask ids in
different formats - hundreds still to follow! But these changes show
it's worth the effort: The former output often lacked information like
the ja task id, or the pe task id in case of pe tasks making
impossible a precise analysis of error situations.

   ------- Additional comments from joga Wed May 29 01:27:16 -0700 2002 -------
Improved job_get_id_string:
if ja task id is 0, only output the job id

Change History (1)

comment:1 Changed 8 years ago by dlove

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


Note: See TracTickets for help on using tickets.