-
Notifications
You must be signed in to change notification settings - Fork 638
Add TMPDIR to reducer and mapper enviroment #2248
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
Conversation
⚪
|
⚪
|
@@ -472,6 +472,8 @@ void FillSpec(NYT::TNode& spec, | |||
spec["force_job_size_adjuster"] = *val; | |||
} | |||
} | |||
spec["reducer"]["environment"]["TMPDIR"] = "."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please avoid filling spec if reducer or mapper are absent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MrLolthe1st see https://github.com/ydb-platform/ydb/blob/main/ydb/library/yql/providers/yt/gateway/native/yql_yt_spec.cpp#L367-L373, how to properly check mapper/reducer presence
@@ -472,6 +472,8 @@ void FillSpec(NYT::TNode& spec, | |||
spec["force_job_size_adjuster"] = *val; | |||
} | |||
} | |||
spec["reducer"]["environment"]["TMPDIR"] = "."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MrLolthe1st see https://github.com/ydb-platform/ydb/blob/main/ydb/library/yql/providers/yt/gateway/native/yql_yt_spec.cpp#L367-L373, how to properly check mapper/reducer presence
⚪
|
⚪
|
No description provided.