dongjoon-hyun commented on code in PR #382:
URL:
https://github.com/apache/spark-kubernetes-operator/pull/382#discussion_r2421698393
##########
spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkAppSubmissionWorker.java:
##########
@@ -139,6 +139,12 @@ protected SparkAppDriverConf buildDriverConf(
if (StringUtils.isNotEmpty(applicationSpec.getJars())) {
primaryResource = new
JavaMainAppResource(Option.apply(applicationSpec.getJars()));
effectiveSparkConf.setIfMissing("spark.jars", applicationSpec.getJars());
+ } else if
("org.apache.spark.deploy.PythonRunner".equals(applicationSpec.getMainClass()))
{
Review Comment:
Yes, previously, it doesn't care of `mainClass` because it checks the
following only.
```
} else if (StringUtils.isNotEmpty(applicationSpec.getPyFiles())) {
```
--
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]