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

Andrew Otto commented on TOREE-323:
-----------------------------------

When I inspect my Kernel metadata, I don't actually see anything set for 
language_info.  All I have is:
{code:java}
{
  "kernelspec": {
    "name": "spark_local_pyspark",
    "display_name": "Spark Local - PySpark",
    "language": "python"
  }
}{code}
 

My kernel.json is:
{code:java}
{
  "display_name": "Spark Local - PySpark",
  "language": "python",
  "env": {
    "__TOREE_SPARK_OPTS__": "--name='Jupyter PySpark'",
    "DEFAULT_INTERPRETER": "PySpark",
    "PYTHON_EXEC": "/usr/bin/python3",
    "SPARK_HOME": "/usr/lib/spark2",
    "__TOREE_OPTS__": "",
    "PYTHONPATH": 
"/usr/lib/spark2/python:/usr/lib/spark2/python/lib/py4j-0.10.6-src.zip"
  },
  "interrupt_mode": "signal",
  "argv": [
    "/usr/local/share/jupyter/kernels/spark_local_pyspark/bin/run.sh",
    "--profile",
    "{connection_file}"
  ],
  "metadata": {}
}{code}
I'm using Toree 0.2.0-incubating-rc5

> Syntax highlighting and autocomplete don't function for PySpark kernel
> ----------------------------------------------------------------------
>
>                 Key: TOREE-323
>                 URL: https://issues.apache.org/jira/browse/TOREE-323
>             Project: TOREE
>          Issue Type: Bug
>            Reporter: Liam Fisk
>            Priority: Minor
>
> In a jupyter notebook using the PySpark kernel python syntax highlighting is 
> patchy/non-existent, and commenting code uses // rather than #.
> Additionally, there is no autocomplete functionality, which will prevent 
> people from using the Toree kernel over manually integrating with PySpark.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to