Setting up VS Code
In VS Code, you can configure an SSH interpreter. Cloudera Machine Learning uses this method to connect to VS Code and act as its interpreter.
- Remote SSH extension
- [Optional] Python extension
- [Optional] R extension
Verify that the SSH endpoint for Cloudera Machine Learning is
cdswctl.If the endpoint is not running, start it.
- Open VS Code.
Open the command pallet and connect to a remote host.
Connect to the host you added previously.
For the first connection, you must accept the fingerprint.
You might not see a pop up, so pay attention to VS Code. If it's the first time your are connecting to a new session, or the port number changed, you will need to accept the fingerprint.While VS Code connects and sets up the remote connection, it installs some helper applications on the Cloudera Machine Learning server. Sometimes the remote session dies. Click Retry or if it's taking a long time, restart the remote session and it will recover.
After you are connected, you can open the Explorer and view and edit the files in
From the Explorer view, you can edit any of the files on your Cloudera Machine Learning server.
Using the Explorer view, you remotely edit and modify your Cloudera Machine Learning files. VS Code also supports Python and R which you offer has some powerful coding tools that you can take advantage of over the remote connection.