Once you choose a Runtime, you can start a session using the cdswctl sessions
start
command and create SSH endpoints using the cdswctl
ssh-endpoint
command.
The Runtime ID used in the following steps is obtained using
the steps outlined in Listing ML Runtimes.
To enable Spark in the sessions, you will need the ID of the
actual Spark Runtime Addon. List Runtime Addons with the following
command:cdswctl runtime-addons list
-
To start a session with a Runtime, use the
cdswctl sessions start
command, specifying the Runtime ID with the -r
parameter and the project
with the -p
parameter.
For example:
cdswctl sessions start -r 2 -p demouser/runtimeproject
-
Add the necessary Spark Runtime Addon ID with the following parameter:
-
To specify SSH endpoints for the Runtime sessions, use the
cdswctl
ssh-endpoint
command and specify the Runtime ID using the -r
parameter. and the project with the -p
parameter.
For example:
cdswctl ssh-endpoint -r 1 -p demouser/runtimeproject