Opened 14 years ago

Last modified 11 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


[Imported from gridengine issuezilla]

        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
       * Summary:     incorrect / inconsistent sge_qstat behaviour (6.1u2)
   Status whiteboard:
                      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
-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:

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

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

-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 -------

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

I'm still waiting for some input on
before opening an issue for it and/or working on it further.


   ------- 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 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by dlove

comment:1 Changed 11 years ago by dlove

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