Opened 12 years ago

Closed 9 years ago

#456 closed defect (invalid)

IZ2365: qstat: inconsistent date formats

Reported by: olesen Owned by:
Priority: normal Milestone:
Component: sge Version: current
Severity: minor Keywords: clients
Cc:

Description

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

        Issue #:      2365             Platform:     All       Reporter: olesen (olesen)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      current      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     qstat: inconsistent date formats
   Status whiteboard:
      Attachments:

     Issue 2365 blocks:
   Votes for issue 2365:


   Opened: Tue Sep 18 06:13:00 -0700 2007 
------------------------


"qstat -xml" reports the job start time is reported in iso-8601

schemas/qstat/qstat.xsd
  <xs:element name="JB_submission_time" type="xs:dateTime" minOccurs="0"/>
  <xs:element name="JAT_start_time" type="xs:dateTime" minOccurs="0"/>

whereas "qstat -xml -j '*'" reports the job start time (and all other times) in
terms of the epoch.

schemas/qstat/detailed_job_info.xsd

  <xs:element name="JB_submission_time" type="xs:unsignedInt"/>
  <xs:element name="JB_execution_time" type="xs:unsignedInt"/>
  <xs:element name="JAT_start_time" type="xs:unsignedInt"/>
  <xs:element name="JAT_end_time" type="xs:unsignedInt"/>


I suspect that the execution time could be more useful in seconds rather than in
a date format

MailingList thread:
http://gridengine.sunsource.net/servlets/ReadMsg?list=dev&msgNo=3185
http://gridengine.sunsource.net/servlets/ReadMsg?list=dev&msgNo=3186

Change History (1)

comment:1 Changed 9 years ago by dlove

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

Things seems to have changed. qstat -xml -j '*' no longer prints the
start time (and detailed_job_info.xsd doesn't have it). qstat.xsd
has it as xs:dateTime.

Note: See TracTickets for help on using tickets.