You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Sachin Aggarwal (JIRA)" <ji...@apache.org> on 2017/02/16 05:50:42 UTC

[jira] [Comment Edited] (TOREE-386) toree spark kernel --name parameter to spark-submit is not applied

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

Sachin Aggarwal edited comment on TOREE-386 at 2/16/17 5:50 AM:
----------------------------------------------------------------

Hi , I am using old verison if u see master branch its been updated now https://github.com/apache/incubator-toree/blob/master/protocol/src/main/scala/org/apache/toree/kernel/protocol/v5/SparkKernelInfo.scala#L46

commit history 
https://github.com/apache/incubator-toree/commit/1ea7b5671136221b115b82141b301bebffa301a0

but issue remians the same ..


was (Author: sachin aggarwal):
Hi , I am using old verison if u see master branch its been updated now https://github.com/apache/incubator-toree/blob/master/protocol/src/main/scala/org/apache/toree/kernel/protocol/v5/SparkKernelInfo.scala#L46

but issue remians the same ..

> 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}



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