-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PipesEMRClient wrong log location #27050
Comments
Hey @Rahkovsky! I don't have a setup to test this right now. Just to double check, are you sure that application logs appear in |
I want to update the issue. The problem was solved by flag:
Though it may be still a good idea to add this parameter if someone want to download full logs that were not generated by |
Happy the flag solved your problem! It was quite a journey to get this working :) Getting back to my previous question: so you are sure |
Yes, I am sure, I see these logs files:
|
Alright! |
## Summary & Motivation Resolve #27050
Thank you @danielgafni ! |
What's the issue?
PipesEMRClient expects logs to be inside "/containers" folder in S3. This folder is created if the we run
YARN
on EMR. If we run EMR withsteps
then this folder does not exist and there are onlysteps/
andnodes/
folders for logs. Because I don't havecontainers
folder in my EMR logs, the command:produces an error:
version: dagster_aws=
0.25.6
It would be great if
containers
would not be hard-coded, but instead passed as a parameter. If I were to change line in[emr.py](https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-aws/dagster_aws/pipes/clients/emr.py#L313)
313from
to
the code runs successfully
I suggest adding a parameter
log_folder
toPipesEMRClient._read_application_logs
andPipesEMRClient.run
with the default valuecontainers
What did you expect to happen?
Dagster expects EMR logs to in the folder
containers
How to reproduce?
Run non-spark EMR job.
Dagster version
1.9.6
Deployment type
Other
Deployment details
Code is run on EC2 Linux instance:
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: