how to create new kernel
See original GitHub issueHello experts,
I’m wondering if anyone explains or provide me to how to create a new kernel?
let me explain my issue:
I have spark on my server in /usr/local/spark, I could use the built-in SparkR package in spark package in R language as making link of that to R library like:
ln -s /usr/local/spark/R/SparkR/ /usr/local/R/library
as you know, to create pyhton2 kernel for jupyterhub we only need below code in /usr/local/share/jupyter/kernels/python2/kernel.json
file:
{
"display_name": "Python 2",
"language": "python",
"argv": [
"/usr/bin/python2",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
]
}
now, I need to know how can I create scala and spark kernel for jupyter like above.
many thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Jupyter Notebook Kernels: How to Add, Change, Remove
1) Use $ jupyter kernelspec list to see the folder the kernel is located in · 2) In that folder, open up file...
Read more >How to Build Linux Kernel From Scratch {Step-By-Step Guide}
Step 1: Download the Source Code · Step 2: Extract the Source Code · Step 3: Install Required Packages · Step 4: Configure...
Read more >Installing the IPython kernel — IPython 8.7.0 documentation
Note that this command will create a new configuration for the kernel in one of the preferred location (see jupyter --paths command for...
Read more >How to compile and install Linux Kernel 5.16.9 from source code
1. Create signing keys and the public and private key for signing the kernel using the openssl command. 2. Enroll the key to...
Read more >Create Your Own Kernel In C - CodeProject
If you are writing your own bootloader for loading a kernel you need to know the overall addressing/interrupts of memory as well as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vhp1360 Launching the
jupyter-scala
script likeshould install jupyter-scala under
/usr/local/share/jupyter/kernels/scala
. It doesn’t need a spark distribution - it downloads the spark jars itself, depending on the version users ask in the session (illustrated here).hi @alexarchambault, and thanks for your reply. your solution is good, but I tried to find a way to link Scala from Scala package also spark and pyspark from Apache Spark package to Python and then to Jupyter. it seems, I’m looking for a hard issue and should forget it. 😃