[ 
https://issues.apache.org/jira/browse/TOREE-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sachin Aggarwal updated TOREE-386:
----------------------------------
    Description: 
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 verison of toree {color:red}IBM Spark Kernel{color} is renamed 
to {color:red}Apache Toree{color}

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


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