[GE issues] [Issue 3071] New - qmod -usj jid returns error status even though job is suspended

dagru d.gruber at sun.com
Mon Jun 29 13:56:20 BST 2009


http://gridengine.sunsource.net/issues/show_bug.cgi?id=3071
                 Issue #|3071
                 Summary|qmod -usj jid returns error status even though job is 
                        |suspended
               Component|gridengine
                 Version|6.2u2
                Platform|Sun
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|clients
             Assigned to|dagru
             Reported by|dagru






------- Additional comments from dagru at sunsource.net Mon Jun 29 05:56:19 -0700 2009 -------
The following was reported: 

I noticed the following while trying to test suspend/resume of a parallel job.  This was running on CentOS 5.2 on a vayu blade.  I wanted to
continually suspend and unsuspend a job.  I attempted to collect the return value from the commands, but the "qmod -usj job-ID" returned a 1
even though it successfully suspended the job.  Here are the details.

[xxxxx at login1 ~/IMB-2.3]$ qsub -terse run.sh
5129
[xxxxx at login1 ~/IMB-2.3]$ qstat
job-ID  prior   name       user         state submit/start at     queue                          slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
   5129 0.55500 Job        xxxxx        r     05/18/2009 13:31:54 normal at c6                         64
[xxxxx at login1 ~/IMB-2.3]$ qmod -sj 5129
xxxxx - suspended job 5129
[xxxxx at login1 ~/IMB-2.3]$ echo $status
0
[xxxxx at login1 ~/IMB-2.3]$ qmod -usj 5129
xxxxx - unsuspended job 5129
[xxxxx at login1 ~/IMB-2.3]$ echo $status
1                                         <-------------Should be 0
[xxxxx at login1 ~/IMB-2.3]$ qmod -usj 5129
xxxxx - job 5129 is already unsuspended
[xxxxx at login1 ~/IMB-2.3]$ echo $status
0
[xxxxx at login1 ~/IMB-2.3]$ qmod -sj 42
invalid queue or job "42"
[xxxxx at login1 ~/IMB-2.3]$ echo $status
1
[xxxxx at login1 ~/IMB-2.3]$ qmod -usj 42
invalid queue or job "42"
[xxxxx at login1 ~/IMB-2.3]$ echo $status
1
[xxxxx at login1 ~/IMB-2.3]$

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=204339

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list