exacaster / lighter

REST API for Apache Spark on K8S or YARN
MIT License
91 stars 21 forks source link

sometime lighter will start 2 different sessions #626

Closed cometta closed 6 months ago

cometta commented 1 year ago

on Jupyter notebook, if i press shut down kernel + restart kernel ( do it fast repeatedly) . sometime lighter will spin up 2 different sessions. that might be due to race condition. just report this see anyone else experience similar issue.

Minutis commented 1 year ago

It is highly likely that the issue is with sparkmagic plugin that manages integration between Lither and Jupyter and not with the Lighter itself. Have you noticed that with a single call to Lighter it is creating multiple seasions instead of one?