EnricoMi commented on code in PR #47801: URL: https://github.com/apache/spark/pull/47801#discussion_r1722840694
########## docs/running-on-kubernetes.md: ########## @@ -436,6 +436,13 @@ When there exists a log collection system, you can expose it at Spark Driver `Ex spark.ui.custom.executor.log.url='https://log-server/log?appId={{APP_ID}}&execId={{EXECUTOR_ID}}' ``` +You can add custom variables to this url template, populated with the values of existing executor environment variables like Review Comment: Done in e0eba77420a. ########## docs/running-on-kubernetes.md: ########## @@ -436,6 +436,13 @@ When there exists a log collection system, you can expose it at Spark Driver `Ex spark.ui.custom.executor.log.url='https://log-server/log?appId={{APP_ID}}&execId={{EXECUTOR_ID}}' ``` +You can add custom variables to this url template, populated with the values of existing executor environment variables like + +``` +spark.executorEnv.SPARK_EXECUTOR_ATTRIBUTE_YOUR_VAR='$(EXECUTOR_ENV_VAR)' Review Comment: Sounds good, done in e0eba77420a. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org