-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPython3 error:'interp' is not a recognized option #12
Comments
Sorry for the delay in documentation, --interp option has been removed as different main classes can be submitted for different extensions (which makes it redundant. I'll post a recommended profile shortly) |
Plz check the updated example config file in readme: import os
c = get_config()
SPARK_HOME = os.environ['SPARK_HOME']
# the above line can be replaced with: SPARK_HOME = '${INSERT_INSTALLATION_DIR_OF_SPARK}'
MASTER = '${INSERT_YOUR_SPARK_MASTER_URL}'
c.KernelManager.kernel_cmd = [SPARK_HOME+"/bin/spark-submit",
"--master", MASTER,
"--class", "org.tribbloid.ispark.Main",
"--executor-memory", "2G",
#(only enable this line if you have extra jars) "--jars", "${FULL_PATHS_OF_EXTRA_JARS}",
"${FULL_PATH_OF_MAIN_JAR}",
"--profile", "{connection_file}",
"--parent"]
c.NotebookApp.ip = '*' # only add this line if you want IPython-notebook being open to the public
c.NotebookApp.open_browser = False # only add this line if you want to suppress opening a browser after IPython-notebook initialization
c.NotebookApp.port = 8888 |
Ok, Thank you,:) |
Can you try the following spec first? {
"display_name": "ISpark",
"language": "scala",
"argv": [
"/opt/spark/spark-1.2.1/bin/spark-submit",
"--master",
"local[*]",
"--class",
"org.tribbloid.ispark.Main",
"--executor-memory", "2G",
"/pathto/ispark-core-assembly-0.2.0-SNAPSHOT.jar",
"--profile",
"{connection_file}",
"--parent"
],
"codemirror_mode": "scala"
} I tried IPy 3.0 before it's release, it works in most of the time but occasionally the kernel is out of synch. I'll try it again some da |
Hi @Anne623, how is it working? Is it running smoothly? |
Hi, @tribbloid , I have not check yet, I will feed back while I checked. |
Hi, @tribbloid , I checked, it's working. Thank you. 👍 :) |
@Anne623, Thanks a lot for verification! It really helps a lot of people about to convert to IPy3! (like me) |
Hi, I use ISpark in IPython3.0, the kernel.json is below:
while i use ISpark,it's logs:
Dose my kerner.json is wrong?
The text was updated successfully, but these errors were encountered: