dongjoon-hyun commented on code in PR #513:
URL:
https://github.com/apache/spark-kubernetes-operator/pull/513#discussion_r2838701382
##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/context/SparkAppContext.java:
##########
@@ -144,4 +145,13 @@ public Pod getDriverPodSpec() {
public List<HasMetadata> getDriverResourcesSpec() {
return getSecondaryResourceSpec().getDriverResources();
}
+
+ /**
+ * Returns the SparkConf from the driver configuration.
+ *
+ * @return The SparkConf object containing Spark configuration properties.
+ */
+ public Map<String, String> getSparkConf() {
Review Comment:
Could you spin-off this contribution as a new PR? In addition, please
replace all existing `app.getSpec().getSparkConf()`,
`sparkApplication2.getSpec().getSparkConf()`,
`sparkApplication3.getSpec().getSparkConf()` with this new utility method.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]