Opened 12 years ago
Last modified 10 years ago
#608 new enhancement
IZ2818: DRMAA jobs should be able to find out their session
Reported by: | templedf | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | 6.2 |
Severity: | Keywords: | drmaa | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2818]
Issue #: 2818 Platform: All Reporter: templedf (templedf) Component: gridengine OS: All Subcomponent: drmaa Version: 6.2 CC: None defined Status: NEW Priority: P3 Resolution: Issue type: ENHANCEMENT Target milestone: --- Assigned to: dagru (dagru) QA Contact: templedf URL: * Summary: DRMAA jobs should be able to find out their session Status whiteboard: Attachments: Issue 2818 blocks: Votes for issue 2818: Opened: Thu Dec 4 00:01:00 -0700 2008 ------------------------ Because the SGE DRMAA implementation offers reconnectable sessions, it should be possible for a job to determine what DRMAA session submitted it. The most obvious way to do that would be to expose the DRMAA session id as an environment variable in the job's environment. ------- Additional comments from templedf Thu Dec 4 00:04:57 -0700 2008 ------- As a follow-up to this feature, it should also be possible to tell Session.init() to reconnect to the parent job's session without having to know what that session's id is.
Note: See
TracTickets for help on using
tickets.