{"action":"created","issue":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/1359","repository_url":"https://api.github.com/repos/flux-framework/flux-core","labels_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1359/labels{/name}","comments_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1359/comments","events_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1359/events","html_url":"https://github.com/flux-framework/flux-core/issues/1359","id":305683360,"number":1359,"title":"support cancellation of jobs that are not running yet","user":{"login":"garlick","id":169947,"avatar_url":"https://avatars1.githubusercontent.com/u/169947?v=4","gravatar_id":"","url":"https://api.github.com/users/garlick","html_url":"https://github.com/garlick","followers_url":"https://api.github.com/users/garlick/followers","following_url":"https://api.github.com/users/garlick/following{/other_user}","gists_url":"https://api.github.com/users/garlick/gists{/gist_id}","starred_url":"https://api.github.com/users/garlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garlick/subscriptions","organizations_url":"https://api.github.com/users/garlick/orgs","repos_url":"https://api.github.com/users/garlick/repos","events_url":"https://api.github.com/users/garlick/events{/privacy}","received_events_url":"https://api.github.com/users/garlick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2018-03-15T19:08:44Z","updated_at":"2018-03-19T16:23:33Z","closed_at":null,"author_association":"OWNER","body":"We have `flux wreck kill` that terminates running jobs, but no `flux wreck cancel` to delete jobs from the queue before they have run.\r\n\r\n@trws mention that `flux jstat` can be used to update a job's status, but the scheduler does not track this state change.\r\n\r\nWhere 1105 is the job id, 3 is \"submitted\" and 12 is \"cancelled\" IIRC:\r\n```sh\r\n$ flux jstat update 1105 state-pair '{ \"state-pair\":{\"ostate\":3,\"nstate\":12}}'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/flux-framework/flux-core/issues/comments/374273266","html_url":"https://github.com/flux-framework/flux-core/issues/1359#issuecomment-374273266","issue_url":"https://api.github.com/repos/flux-framework/flux-core/issues/1359","id":374273266,"user":{"login":"dongahn","id":862123,"avatar_url":"https://avatars3.githubusercontent.com/u/862123?v=4","gravatar_id":"","url":"https://api.github.com/users/dongahn","html_url":"https://github.com/dongahn","followers_url":"https://api.github.com/users/dongahn/followers","following_url":"https://api.github.com/users/dongahn/following{/other_user}","gists_url":"https://api.github.com/users/dongahn/gists{/gist_id}","starred_url":"https://api.github.com/users/dongahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongahn/subscriptions","organizations_url":"https://api.github.com/users/dongahn/orgs","repos_url":"https://api.github.com/users/dongahn/repos","events_url":"https://api.github.com/users/dongahn/events{/privacy}","received_events_url":"https://api.github.com/users/dongahn/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T16:23:33Z","updated_at":"2018-03-19T16:23:33Z","author_association":"CONTRIBUTOR","body":"> Probably something to keep in mind, but not really helpful for the task at hand.\r\n\r\n@trws: Agreed. Given the aggressive time frame of the Splash project, it seems we want to go for low hanging fruits for now.\r\n\r\nI am going to create a branch in my repo with the debug statements in sched. I'd like to see where the time is going. 5 mins are bad but it is a one time cost which gets amortized over time. "}}
{"actor":{"display_login":"dongahn"}}