[jira] [Assigned] (TOREE-386) spark kernel `--name test` or `--conf spark.app.name=test` parameter to spark_opts is not applied

2017-02-27 Thread Jakob Odersky (JIRA)

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

Jakob Odersky reassigned TOREE-386:
---

Assignee: Jakob Odersky

> spark kernel `--name test` or `--conf spark.app.name=test` parameter to 
> spark_opts is not applied 
> --
>
> Key: TOREE-386
> URL: https://issues.apache.org/jira/browse/TOREE-386
> Project: TOREE
>  Issue Type: Bug
>Reporter: Sachin Aggarwal
>Assignee: Jakob Odersky
>
> 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)


[jira] [Resolved] (TOREE-377) When magic fails, the error is swallowed

2017-02-27 Thread Jakob Odersky (JIRA)

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

Jakob Odersky resolved TOREE-377.
-
Resolution: Fixed

> When magic fails, the error is swallowed
> 
>
> Key: TOREE-377
> URL: https://issues.apache.org/jira/browse/TOREE-377
> Project: TOREE
>  Issue Type: Improvement
>Reporter: Ryan Blue
>




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


[jira] [Commented] (TOREE-377) When magic fails, the error is swallowed

2017-02-27 Thread Jakob Odersky (JIRA)

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

Jakob Odersky commented on TOREE-377:
-

Fixed in PR, thanks!

> When magic fails, the error is swallowed
> 
>
> Key: TOREE-377
> URL: https://issues.apache.org/jira/browse/TOREE-377
> Project: TOREE
>  Issue Type: Improvement
>Reporter: Ryan Blue
>




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


[jira] [Resolved] (TOREE-387) Kernel should not store SparkSession

2017-02-27 Thread Jakob Odersky (JIRA)

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

Jakob Odersky resolved TOREE-387.
-
Resolution: Fixed

fixed in pr

> Kernel should not store SparkSession
> 
>
> Key: TOREE-387
> URL: https://issues.apache.org/jira/browse/TOREE-387
> Project: TOREE
>  Issue Type: Improvement
>Reporter: Ryan Blue
>
> Currently, the kernel creates and stores the SparkSession in a field to share 
> between interpreters. If the user closes a SparkSession and creates a new 
> one, then the Kernel still returns the original. Users may need to restart 
> Spark sessions for long-running notebooks or to deal with Spark errors 
> without losing datasets that have been pulled back to the notebook.
> I think that Toree should always return the current Spark session by calling 
> {{SparkSession.builder.getOrCreate}}.



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


[jira] [Resolved] (TOREE-383) Fix flaky tests

2017-02-27 Thread Jakob Odersky (JIRA)

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

Jakob Odersky resolved TOREE-383.
-
Resolution: Fixed

> Fix flaky tests
> ---
>
> Key: TOREE-383
> URL: https://issues.apache.org/jira/browse/TOREE-383
> Project: TOREE
>  Issue Type: Sub-task
>Reporter: Jakob Odersky
>Assignee: Jakob Odersky
>Priority: Minor
>




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


[jira] [Closed] (TOREE-379) Tab completion doesn't replace partial words

2017-02-27 Thread Jakob Odersky (JIRA)

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

Jakob Odersky closed TOREE-379.
---
Resolution: Fixed

Fixed in PR, thanks!

> Tab completion doesn't replace partial words
> 
>
> Key: TOREE-379
> URL: https://issues.apache.org/jira/browse/TOREE-379
> Project: TOREE
>  Issue Type: Improvement
>Reporter: Ryan Blue
>
> Tab completion in both notebooks and the console is incorrect and causes the 
> front-end to add the selected option after an incomplete word instead of 
> replacing it.



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