[ 
https://issues.apache.org/jira/browse/SPARK-21798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16137310#comment-16137310
 ] 

Thomas Graves commented on SPARK-21798:
---------------------------------------

You could need to add things to the classpath for custom UI filters, certain 
hadoop configurations may need extra things added, like paths to rack switch 
resolvers, etc.

I think it would make sense to add back in a SPARK_DAEMON_CLASSPATH.  I would 
think people could want something similar for the standalone mode as well as 
history server so a general daemon one would make sense.  But if people don't 
think anyone will use it in standalone mode we could just make a history server 
specific env for it as well.  

> No config to replace deprecated SPARK_CLASSPATH config for launching daemons 
> like History Server
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-21798
>                 URL: https://issues.apache.org/jira/browse/SPARK-21798
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.2.0
>            Reporter: Sanket Reddy
>            Priority: Minor
>
> History Server Launch uses SparkClassCommandBuilder for launching the server. 
> It is observed that SPARK_CLASSPATH has been removed and deprecated. For 
> spark-submit this takes a different route and spark.driver.extraClasspath 
> takes care of specifying additional jars in the classpath that were 
> previously specified in the SPARK_CLASSPATH. Right now the only way specify 
> the additional jars for launching daemons such as history server is using 
> SPARK_DIST_CLASSPATH 
> (https://spark.apache.org/docs/latest/hadoop-provided.html) but this I 
> presume is a distribution classpath. It would be nice to have a similar 
> config like spark.driver.extraClasspath for launching daemons similar to 
> history server. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to