Community
Participate
Working Groups
1. Submit any job and wait till job status will be DONE or ABORTED 2. In Jobs view select this job and from context-menu start "Update selected job status" Result: - status is not downloaded (Last update time is not refreshed). Reason: This is because for DONE jobs, updater cannot be found (is not created) Should be: Status should BE always downloaded when user started this action manually (on demand) regardless of current job-status Solution discussed with Pawel: - for action "Update selected job status" called by user (not called in the background by periodical updater), there should be dedicated one special updater (not connected with given job) - this updater should download selected jobs one by one (not all simultaneously) - this updater should show progress monitor dialog during downloading
Bug fixed, see bug id=202154. Please close this item.
Patches fix some issues with job status updates: 1. Informs listeners of the updates jobs if status has been changed. 2. Fixes ConcurentModificationException which occured when you changed selection in Jobs View when manual status updates were in progress. 3. Removed excessive constructor from UpdateJobStatusAction.
Created attachment 78162 [details] Patch for eu.geclipse.core Modified classes: 1. JobStatusUpdater - added method statusUpdated( IGridJobStatus ) which is fired when job's status was changed outside of the updater. 2. JobManager - added method jobStatusChanged( IGridJob ) which searches updaters for updater of the given job and executes statusUpdated( IGridJobStatus ) for that updater. 3. IGridJobManager - method jobStatusChanged( IGridJob )
Created attachment 78163 [details] Patch for eu.geclipse.ui Modified classes: 1. UpdateJobStatusAction - removed constructor UpdateJobStatusAction( IWorkbenchWindow) and modified run method to resolve ConcurentModifyException. 2. JobViewActions - changed to constructor without parameters for new UpdateJobStatusAction.
Bug fixed, se above comments.
Job status is now downloaded on every user call. Great! Unfortunatelly views sometimes are not refreshed, but it's another bug: 199874 So this bug can be closed.
Comment on attachment 78163 [details] Patch for eu.geclipse.ui Applied by Mariusz
Comment on attachment 78162 [details] Patch for eu.geclipse.core Applied by Mariusz