[GE users] Java DRMAA Job listeners?

fansn fansn at hotmail.com
Sun Nov 8 09:06:30 GMT 2009


Hi Umanga,

I use a separate thread to monitor the job, as this call is blocked if you
use TIMEOUT_WAIT_FOREVER. I prefer using perl DRMAA as it's easy to maintain
and uses less resource. 

Yours sincerely,


Sinong

-----Original Message-----
From: umanga [mailto:aumanga at biggjapan.com] 
Sent: 05 November 2009 07:33
To: users at gridengine.sunsource.net
Subject: [GE users] Java DRMAA Job listeners?

Greetings all,

I am submitting several jobs using Java DRMAA and wait till all of that 
jobs finish using :

session.synchronize(Collections.singletonList(Session.JOB_IDS_SESSION_ALL),
Session.TIMEOUT_WAIT_FOREVER,true);

Is there a way (like listeners ) which I can detect Job events like 
finished() terminated() ..etc ?

Or can I submit each Job in a separate Thread and wait till that job to 
finish and use "JobInfo" to collect information about job execution ?
If so , what about the limit for number of Thread?

Thanks in advance,
umanga

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=2
25139

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

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4574 (20091104) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4583 (20091108) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

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

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



More information about the gridengine-users mailing list