Skip to content

Commit

Permalink
SparkClassLauncher -> SparkSubmitDriverBootstrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Aug 19, 2014
1 parent a91ea19 commit 1ea6bbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/spark-class
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

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

cygwin=false
case "`uname`" in
Expand Down Expand Up @@ -160,13 +160,13 @@ export CLASSPATH

if [ -n "$SPARK_SUBMIT_BOOTSTRAP_DRIVER" ]; then
# This is used only if the properties file actually contains these special configs
# Export the environment variables needed by SparkClassLauncher
# Export the environment variables needed by SparkSubmitDriverBootstrapper
export RUNNER
export CLASSPATH
export JAVA_OPTS
export OUR_JAVA_MEM
shift
exec "$RUNNER" org.apache.spark.deploy.SparkClassLauncher "$@"
exec "$RUNNER" org.apache.spark.deploy.SparkSubmitDriverBootstrapper "$@"
else
JAVA_OPTS="$JAVA_OPTS -Xms$OUR_JAVA_MEM -Xmx$OUR_JAVA_MEM"
if [ -n "$SPARK_PRINT_LAUNCH_COMMAND" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import org.apache.spark.util.{RedirectThread, Utils}
* driver JVM is launched. The sole purpose of this class is to avoid handling the complexity
* of parsing the properties file for such relevant configs in BASH.
*
* Usage: org.apache.spark.deploy.SparkClassLauncher <application args>
* Usage: org.apache.spark.deploy.SparkSubmitDriverBootstrapper <application args>
*/
private[spark] object SparkClassLauncher {
private[spark] object SparkSubmitDriverBootstrapper {

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

0 comments on commit 1ea6bbe

Please sign in to comment.