Skip to content
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

Integration with Spark Magic. #10

Open
as-sher opened this issue Apr 27, 2020 · 2 comments
Open

Integration with Spark Magic. #10

as-sher opened this issue Apr 27, 2020 · 2 comments

Comments

@as-sher
Copy link

as-sher commented Apr 27, 2020

Hi,

I am using spark magic(https://github.com/jupyter-incubator/sparkmagic) which provides me with kernels to run my commands on remote clusters. Is there a way to integrate this spark monitor to it?

@itsjafer
Copy link
Owner

I'll have to set up spark magic to try and test it out which will probably take a while since it's not really high priority for me.

Could you try following the installation instructions with the exception that, when creating a new SparkSession using sparkmagics, you add the following configs:

'spark.extraListeners': 'sparkmonitor.listener.JupyterSparkMonitorListener'
'spark.driver.extraClassPath': 'path/to/your/python/packages/sparkmonitor/listener.jar'

@utkarshgupta137
Copy link

Hey, I tried this and it is not working. We use spark magic to connect to spark in cluster mode. I guess the problem will be that the extension will have to connect to the spark on a remote cluster.
Let me know if I can help debugging the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants