https://prefect.io logo
j

Jon Martin

12/02/2022, 8:07 PM
Hey y'all, I've run into this issue where my task will be created & submitted and then... nothing. It's just stuck in Pending. I'm trying to bring Prefect to my company for data engineering, and I really need to figure this out to move forward. Thanks! 140011.934 | INFO | Flow run 'dazzling-lorikeet' - Created task run 'read_file-7f2c7640-0' for task 'read_file' 140011.935 | INFO | Flow run 'dazzling-lorikeet' - Submitted task run 'read_file-7f2c7640-0' for execution. I can read the file if I copy-paste the code into the flow, so I know it's not an issue there. UPDATE: With no flows running, somehow my concurrency-tag said that it was full (3/3 active tasks), so this task never made it into the queue.
1
r

Rob Freedy

12/05/2022, 3:19 PM
Hey @Jon Martin! Is this for 1.0 or 2.0? Are there any flow runs in the UI that show as running? In 2.0, you can check out the flow runs running on a specific work queue from the "Runs" tab. In 1.0, you can use the Interactive API to see if there are any running flow runs using a query like this
Copy code
query {
  flow_run (where : { state : { _eq :"Running"}}) {
    name
    flow {
      id
      name
    }
    state
  }
}