Opened 10 years ago

Last modified 7 years ago

#457 new patch

IZ2366: incorrect / inconsistent sge_qstat behaviour (6.1u2)

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

Description

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

        Issue #:      2366             Platform:     All       Reporter: olesen (olesen)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      current      CC:    None defined
        Status:       NEW              Priority:     P2
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     incorrect / inconsistent sge_qstat behaviour (6.1u2)
   Status whiteboard:
      Attachments:
                      Date/filename:                                   Description:                                                         Submitted by:
                      Mon Oct 1 04:46:00 -0700 2007: issue-2366.tar.gz fixed reading comments and handle local/global settings (text/plain) olesen

     Issue 2366 blocks:
   Votes for issue 2366:


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


For compatibility, a site $SGE_ROOT/default/common/sge_qstat exists with the
contents
=========
-u *
=========

Accordingly, the jobs for all users are displayed.
A user customization, via ~/.sge_qstat with the contents
=========
-u $user
=========
or even
=========
-u olesenm
=========

has no effect. The jobs for all users are still displayed.
Adding other parameters, such as '-f', works as expected.

When the $SGE_ROOT/default/common/sge_qstat file is removed, the '-u' value in
~/.sge_qstat is respected.


Comments in the file also yield very interesting results:

With
=========
#-u $user
-f
=========
Error Message: invalid option argument "#-u"

With
=========
-u $user
#-f
=========
The '-f' option is ignored (as expected and desired)


With
=========
-u $user
# -f
=========
The '-f' option is applied !

   ------- Additional comments from olesen Mon Oct 1 04:46:11 -0700 2007 -------
Created an attachment (id=122)
fixed reading comments and handle local/global settings

   ------- Additional comments from andreas Mon Oct 1 06:04:07 -0700 2007 -------
Thanks!

It seems something went wrong with the fix of #2088.

   ------- Additional comments from olesen Mon Oct 1 06:19:35 -0700 2007 -------
In the fix #2088, the local/global parameters don't seem to be merged at all.
Note that I've tagged some of the code is 'a work in progress' (with an #error
pragma).

I'm still waiting for some input on
http://gridengine.sunsource.net/servlets/ReadMsg?list=dev&msgNo=3198
before opening an issue for it and/or working on it further.

/mark

   ------- Additional comments from templedf Thu Sep 24 13:31:42 -0700 2009 -------
Removing from Roland's ownership.

Attachments (1)

122 (28.3 KB) - added by dlove 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by dlove

comment:1 Changed 7 years ago by dlove

  • Severity set to minor
  • Type changed from defect to patch
Note: See TracTickets for help on using tickets.