-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADAP-634] [Bug] Redshift fails to run several threads #501
Comments
Another finding here: I also find the issue: #427 that I suppose could be the reason why my task run with 1.5.1 did not work. So I try to rollback to 1.4.6 version and still no luck. |
@sphinks, you're right -- this is some strange behavior, you've certainly piqued my interest! clarification questions:
|
in the dbt Community Slack's #db-redshift channel, someone suggested that you may be encountering an issue with autoWLM.
|
@dataders thanks for you attention to the issue.
|
Here is another detail that I have figured out: the issues happens with models that involves 2 databases. I have landing layer in one database and staging layer in another database. Could it be the root cause of issue with paralell run over dbt? |
@sphinks the multi-db is an interesting scenario. I talked with some engineers at Redshift, they recommend that you open an AWS support ticket for this issue. once you do, they can grab the ticket if you share the case id here. |
@dataders I believe, I have found the issue: it is combination of cross-database setup and grant post hook. In my project I has a post-hook that is doing "grant select on all tables in schema...". It means that operation is done after each model is built. I suppose having several threads trying to do that operation on cross-database level - lead to issue. I do not know exactly what is wrong here, but switch to "grant select on table ..." helped. Most interesting aspect that the same post hook is working in parallel run inside 1 database. That is confusing. |
Closing the issue. |
Is this a new bug in dbt-redshift?
Current Behavior
I have found several issues about performance degradation while using RA3 node. However, I'm expecting failure of dbt run if I switch from 1 thread to several.
My DBT profile:
The error I get:
That happens not at the same model, sometimes the first model could fail. Other time it could be model at the end of list.
What helps a little bit - setup
connect_timeout: 999999
. I have found that solution at some bug. It still fails, but happens not at the very begining.What I'm using:
Redshift RA3 cluster
DBT - 1.3.2
dbt-redshift - 1.3.0
I try to switch to the latest version of dbt (1.5.1) and dbt-redshift (1.5.5), not luck, but the error message became ' The read operation timed out'.
Expected Behavior
DBT runs in parallel with out any issues.
Steps To Reproduce
Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: