Github user adrian-wang commented on a diff in the pull request:
https://github.com/apache/spark/pull/1967#discussion_r16335777
--- Diff:
core/src/main/scala/org/apache/spark/deploy/worker/CommandUtils.scala ---
@@ -73,8 +73,17 @@ object CommandUtils extends Logging {
extraEnvironment = command.environment)
val userClassPath = command.classPathEntries ++ Seq(classPath)
- Seq("-cp",
userClassPath.filterNot(_.isEmpty).mkString(File.pathSeparator)) ++
- permGenOpt ++ libraryOpts ++ workerLocalOpts ++ command.javaOpts ++
memoryOpts
+ val runner = getEnv("JAVA_HOME", command).map(_ +
"/bin/java").getOrElse("java")
--- End diff --
We are now using the java which the worker started with to run executor, so
to judge perm size setting we should refer to the specific java version.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]