dongjoon-hyun commented on code in PR #45618:
URL: https://github.com/apache/spark/pull/45618#discussion_r1540639266
##########
launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java:
##########
@@ -193,6 +193,12 @@ List<String> buildClassPath(String appClassPath) throws
IOException {
boolean isTestingSql = "1".equals(getenv("SPARK_SQL_TESTING"));
String jarsDir = findJarsDir(getSparkHome(), getScalaVersion(), !isTesting
&& !isTestingSql);
if (jarsDir != null) {
+ // Place slf4j-api-* jar first to be robust
Review Comment:
Ya, it seems to be a real robustness issue. It randomly happens based on the
class loading sequence.
--
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]