Skip to content

Commit 1ea6bbe

Browse files
committed
SparkClassLauncher -> SparkSubmitDriverBootstrapper
1 parent a91ea19 commit 1ea6bbe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bin/spark-class

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# limitations under the License.
1818
#
1919

20-
# NOTE: Any changes to this file must be reflected in SparkClassLauncher.scala!
20+
# NOTE: Any changes to this file must be reflected in SparkSubmitDriverBootstrapper.scala!
2121

2222
cygwin=false
2323
case "`uname`" in
@@ -160,13 +160,13 @@ export CLASSPATH
160160

161161
if [ -n "$SPARK_SUBMIT_BOOTSTRAP_DRIVER" ]; then
162162
# This is used only if the properties file actually contains these special configs
163-
# Export the environment variables needed by SparkClassLauncher
163+
# Export the environment variables needed by SparkSubmitDriverBootstrapper
164164
export RUNNER
165165
export CLASSPATH
166166
export JAVA_OPTS
167167
export OUR_JAVA_MEM
168168
shift
169-
exec "$RUNNER" org.apache.spark.deploy.SparkClassLauncher "$@"
169+
exec "$RUNNER" org.apache.spark.deploy.SparkSubmitDriverBootstrapper "$@"
170170
else
171171
JAVA_OPTS="$JAVA_OPTS -Xms$OUR_JAVA_MEM -Xmx$OUR_JAVA_MEM"
172172
if [ -n "$SPARK_PRINT_LAUNCH_COMMAND" ]; then

core/src/main/scala/org/apache/spark/deploy/SparkClassLauncher.scala renamed to core/src/main/scala/org/apache/spark/deploy/SparkSubmitDriverBootstrapper.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ import org.apache.spark.util.{RedirectThread, Utils}
2929
* driver JVM is launched. The sole purpose of this class is to avoid handling the complexity
3030
* of parsing the properties file for such relevant configs in BASH.
3131
*
32-
* Usage: org.apache.spark.deploy.SparkClassLauncher <application args>
32+
* Usage: org.apache.spark.deploy.SparkSubmitDriverBootstrapper <application args>
3333
*/
34-
private[spark] object SparkClassLauncher {
34+
private[spark] object SparkSubmitDriverBootstrapper {
3535

3636
// Note: This class depends on the behavior of `bin/spark-class` and `bin/spark-submit`.
3737
// Any changes made there must be reflected in this file.

0 commit comments

Comments
 (0)