You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "Reamer (via GitHub)" <gi...@apache.org> on 2025/09/03 07:56:17 UTC

[PR] [SPARK-53471] Correct entrypoint.sh for Openshift [spark-docker]

Reamer opened a new pull request, #90:
URL: https://github.com/apache/spark-docker/pull/90

   ### What changes were proposed in this pull request?
   This change performs string interpolation during the creation of the temporary file.
   
   ### Why are the changes needed?
   Start problems due to incorrect evaluation of the content.
   ```
   Exception in thread "main" java.lang.IllegalArgumentException: basedir must be absolute: -anonymous uid}/.ivy2/local
   	at org.apache.ivy.util.Checks.checkAbsolute(Checks.java:48)
   	at org.apache.ivy.plugins.repository.file.FileRepository.setBaseDir(FileRepository.java:137)
   	at org.apache.ivy.plugins.repository.file.FileRepository.<init>(FileRepository.java:44)
   	at org.apache.spark.deploy.SparkSubmitUtils$.createRepoResolvers(SparkSubmit.scala:1269)
   	at org.apache.spark.deploy.SparkSubmitUtils$.buildIvySettings(SparkSubmit.scala:1376)
   	at org.apache.spark.util.DependencyUtils$.resolveMavenDependencies(DependencyUtils.scala:182)
   	at org.apache.spark.deploy.SparkSubmit.prepareSubmitEnvironment(SparkSubmit.scala:334)
   	at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:964)
   	at org.apache.spark.deploy.SparkSubmit$$anon$1.run(SparkSubmit.scala:176)
   	at org.apache.spark.deploy.SparkSubmit$$anon$1.run(SparkSubmit.scala:174)
   	at java.base/java.security.AccessController.doPrivileged(Native Method)
   	at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
   	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1878)
   	at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:174)
   	at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:217)
   	at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:91)
   	at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1120)
   	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1129)
   	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
   ```
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   On my Openshift 4.17 platform
   


-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53471] Correct entrypoint.sh for Openshift [spark-docker]

Posted by "Reamer (via GitHub)" <gi...@apache.org>.
Reamer commented on PR #90:
URL: https://github.com/apache/spark-docker/pull/90#issuecomment-3248116602

   ping @Yikun and @pan3793


-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53471] Correct entrypoint.sh for Openshift [spark-docker]

Posted by "Reamer (via GitHub)" <gi...@apache.org>.
Reamer commented on PR #90:
URL: https://github.com/apache/spark-docker/pull/90#issuecomment-5370033023

   Over time, a few entrypoint.sh files have been added. I've updated the MR and hope for a quick review.


-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org