Title: Add job management APIs · Issue #302 · feast-dev/feast · GitHub
Open Graph Title: Add job management APIs · Issue #302 · feast-dev/feast
X Title: Add job management APIs · Issue #302 · feast-dev/feast
Description: We should add a job management to the core API for tracking status of jobs cleaning up jobs For retrieval, we could possibly retrieve jobs based on the existing GetFeatureSets and GetStores filters: rpc GetJobs(GetJobsRequest) returns (G...
Open Graph Description: We should add a job management to the core API for tracking status of jobs cleaning up jobs For retrieval, we could possibly retrieve jobs based on the existing GetFeatureSets and GetStores filters...
X Description: We should add a job management to the core API for tracking status of jobs cleaning up jobs For retrieval, we could possibly retrieve jobs based on the existing GetFeatureSets and GetStores filters...
Opengraph URL: https://github.com/feast-dev/feast/issues/302
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add job management APIs","articleBody":"We should add a job management to the core API for \r\n- tracking status of jobs\r\n- cleaning up jobs\r\n\r\nFor retrieval, we could possibly retrieve jobs based on the existing GetFeatureSets and GetStores filters:\r\n\r\n```\r\nrpc GetJobs(GetJobsRequest) returns (GetJobsResponse);\r\n\r\n// Retrieves matching jobs given feature set and/or store filters. If none are provided,\r\n// all active jobs will be returned.\r\nmessage GetJobsRequest {\r\n // Filter by feature set name and version\r\n GetFeatureSetsRequest.Filter feature_set = 1;\r\n\r\n // Filter by store name\r\n GetStoresRequest.Filter store = 2;\r\n}\r\n\r\nmessage GetJobsResponse {\r\n\r\n enum JobStatus {\r\n // Job state unknown\r\n UNKNOWN = 0;\r\n\r\n // New feature set or feature set version created\r\n PENDING = 1;\r\n\r\n // Error occurred while trying to apply changes\r\n RUNNING = 2;\r\n\r\n COMPLETED = 3;\r\n\r\n /** When user sent abort command, but it's still running */\r\n ABORTING = 4;\r\n\r\n /** User initiated abort job */\r\n ABORTED = 5;\r\n\r\n /**\r\n * Runner’s reported that the import job failed to run or there is a failure during job\r\n * submission.\r\n */\r\n ERROR = 6;\r\n\r\n /** job has been suspended and waiting for cleanup */\r\n SUSPENDING = 7;\r\n\r\n /** job has been suspended */\r\n SUSPENDED = 8;\r\n }\r\n\r\n message Job {\r\n string name = 1;\r\n JobStatus status = 2;\r\n repeated feast.core.FeatureSet feature_sets = 3;\r\n feast.core.Store store = 4;\r\n feast.core.Source source = 5;\r\n }\r\n repeated Job jobs = 1;\r\n}\r\n```\r\n\r\nJobs should be aborted by name. \r\n\r\n```\r\nrpc AbortJob(AbortJobRequest) returns (AbortJobResponse);\r\n\r\nmessage AbortJobRequest {\r\n string job_name = 1;\r\n}\r\n\r\nmessage AbortJobResponse {\r\n enum Status {\r\n INVALID = 0;\r\n SUCCESS = 1;\r\n ERROR = 2;\r\n }\r\n\r\n // Feature set response has been enriched with version and source information\r\n Status status = 1;\r\n}\r\n```","author":{"url":"https://github.com/zhilingc","@type":"Person","name":"zhilingc"},"datePublished":"2019-11-13T07:11:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/302/feast/issues/302"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a74b03ec-6ed4-ed82-6717-ba67b85e2872 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCA8:2153D2:739AC6:A3C579:6978BC8B |
| html-safe-nonce | ec62e0a91badfe45c021304d552847d6a971f91b55a716f8471a757b5776d3d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0E4OjIxNTNEMjo3MzlBQzY6QTNDNTc5OjY5NzhCQzhCIiwidmlzaXRvcl9pZCI6IjQxNjg2OTYwMTk0NzYzMzE2NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 07342875b55c4d079e758d7014f0ee8953e8e7b1cb265631fcdebb2aeee8f248 |
| hovercard-subject-tag | issue:522004973 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/302/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d7773ede691fdb44f077f0d1abb494d4ac2fc87e21a29077dd2091aafa6b0a8a/feast-dev/feast/issues/302 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7773ede691fdb44f077f0d1abb494d4ac2fc87e21a29077dd2091aafa6b0a8a/feast-dev/feast/issues/302 |
| og:image:alt | We should add a job management to the core API for tracking status of jobs cleaning up jobs For retrieval, we could possibly retrieve jobs based on the existing GetFeatureSets and GetStores filters... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhilingc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9520342ca7ead2f1a011aa96eaff82fc054a4970 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width