Github user felixcheung commented on a diff in the pull request: https://github.com/apache/spark/pull/21476#discussion_r192551676 --- Diff: resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala --- @@ -1485,6 +1486,22 @@ private object Client extends Logging { YarnAppReport(report.getYarnApplicationState(), report.getFinalApplicationStatus(), diagsOpt) } + /** + * Create a properly quoted library path string to be added as a prefix to the command executed by + * YARN. This is different from plain quoting due to YARN executing the command through "bash -c". + */ + def createLibraryPathPrefix(libpath: String, conf: SparkConf): String = { --- End diff -- k
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org