Skip to content

Commit ea50aef

Browse files
committed
Nit fix
1 parent 9f41dca commit ea50aef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ private List<String> buildSparkSubmitCommand(Map<String, String> env)
300300
private void checkJavaOptions(String javaOptions) {
301301
if (!isEmpty(javaOptions) && javaOptions.contains("Xmx")) {
302302
String msg = String.format("Not allowed to specify max heap(Xmx) memory settings through " +
303-
"java options (was %s). Use the corresponding --driver-memory or " +
304-
"spark.driver.memory configuration instead.", javaOptions);
303+
"java options (was %s). Use the corresponding --driver-memory or " +
304+
"spark.driver.memory configuration instead.", javaOptions);
305305
throw new IllegalArgumentException(msg);
306306
}
307307
}

0 commit comments

Comments
 (0)