Hi,
I would like to have the Jupyter Kernel Gateway sits on my Spark cluster's master / edge node. It takes the client requests in HTTP or web-socket to create different Jupyter Kernels for clients. I have a question regarding to how Jupyter Kernel Gateway handles multi-tendency. For example, I have multiple users who speak Jupyter protocol to access the Jupyter Kernel Gateway remotely in order to launch Spark jobs on the cluster. The Jupyter Kernel Gateway sites on my cluster's master / edge node. It takes the requests and creates multiple Kernels, say Kernel A and Kernel B inside of the Spark cluster.
now I have user 1 and user 2 interactively accessing the same Kernel A and user 3 and 4 accessing the kernel B. How does Jupyter Kernel Gateway makes sure that the correct users are mapped to their own kernels and isolate the wrong users to access others' kernels. Does Jupyter Kernel Gateway implement impersonation?
Regards,
Tanping