dongjoon-hyun edited a comment on pull request #31877: URL: https://github.com/apache/spark/pull/31877#issuecomment-801995607
@HyukjinKwon , @attilapiros , @viirya . I tried to use `DependencyUtils`, but it turns out that it fails at the execution because `Utils.doFetchFile` depends on `SparkEnv.get`. `SparkSubmit` use this K8s submission code before `SparkEnv` creation and fails with `java.lang.NullPointerException`. In this case, I believe this vanilla approach is the only way. For the test case concern, I can still remove it but I prefer to have the test coverage for the new function for now. We can revise the test suite later with the `withHttpServer` refactoring. -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
