-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-40887][K8S] Allow Spark on K8s to integrate w/ Log Service #38357
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
Changes from all commits
89044d7
a9e8d0c
20d4e2e
f514623
78c3106
4474ffe
33cffe3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,6 +65,7 @@ private[spark] object Constants { | |
| val ENV_EXECUTOR_POD_NAME = "SPARK_EXECUTOR_POD_NAME" | ||
| val ENV_JAVA_OPT_PREFIX = "SPARK_JAVA_OPT_" | ||
| val ENV_CLASSPATH = "SPARK_CLASSPATH" | ||
| val ENV_DRIVER_POD_NAME = "SPARK_DRIVER_POD_NAME" | ||
|
||
| val ENV_DRIVER_BIND_ADDRESS = "SPARK_DRIVER_BIND_ADDRESS" | ||
| val ENV_SPARK_CONF_DIR = "SPARK_CONF_DIR" | ||
| val ENV_SPARK_USER = "SPARK_USER" | ||
|
|
||
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.
This looks like logically duplicated in both
getDriverLogUrlsandgetDriverAttributesexcept the variable names. Could you try to refactor more?Uh oh!
There was an error while loading. Please reload this page.
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.
There are few differences, e.g.
toLowerCaseandtoUpperCase, this followsCoarseGrainedExecutorBackend#extractLogUrlsandCoarseGrainedExecutorBackend#extractAttributes