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

Corey A Stubbs commented on TOREE-386:
--------------------------------------

The lines mentioned above ultimately bubble down to here, 
https://github.com/apache/incubator-toree/blob/6ef0c8cec02a6b622e204ab0271321e0f8a75d38/kernel/src/main/scala/org/apache/toree/boot/layer/ComponentInitialization.scala#L104,
 where the spark application name is set.

The proper fix for this should set the app name of the parameter if it is 
passed in.

> toree spark kernel --name parameter to spark-submit is not applied 
> -------------------------------------------------------------------
>
>                 Key: TOREE-386
>                 URL: https://issues.apache.org/jira/browse/TOREE-386
>             Project: TOREE
>          Issue Type: Bug
>            Reporter: Sachin Aggarwal
>
> this is my kernel.json
> {code}
> {
>   "language": "scala",
>   "display_name": "toree_special - Scala",
>   "env": {
>     "SPARK_OPTS": "--name MyAPP --master yarn --deploy-mode client",
>     "SPARK_HOME": "spark_home",
>     "__TOREE_OPTS__": "",
>     "DEFAULT_INTERPRETER": "Scala",
>     "PYTHONPATH": "spark_home/python:spark_home/python/lib/py4j-0.9-src.zip",
>     "PYTHON_EXEC": "python"
>   },
>   "argv": [
>     "/root/.local/share/jupyter/kernels/toree_special_scala/bin/run.sh",
>     "--profile",
>     "{connection_file}"
>   ]
> }
> {code}
> the parameter that I added {color:red}--name MyAPP{color} is not applied I 
> still see app name in yarn resource ui as {color:red}IBM Spark Kernel{color}
> update: In new version of toree {color:red}IBM Spark Kernel{color} is renamed 
> to {color:red}Apache Toree{color}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to