Install and Configure Jupyter Notebooks

Using Team Studio, you can integrate Jupyter Notebooks for Team Studio to run Python code.

Note: As of version 6.6.0, Team Studio requires Python 3.4 (or later) on the cluster.
Installation Preparation

For a non-Docker installation, before running the installer for Jupyter Notebooks for Team Studio, install the package bunzip2.

Jupyter Notebooks for Team Studio is installed using a shell script installer. You must install Jupyter Notebooks for Team Studio on a separate server from your Team Studio installation. The shell script installer requires the following information.
  • The location of the installation.

    The default path is /opt/notebooks.

  • The Spawner type.

    You can run Jupyter Notebooks for Team Studio in a Docker container on that server, or you can run uncontainerized as a local managed process. The default is Docker.

  • Whether the installation SSL-enabled. If so, provide the following.
    • SSL certificate path.
    • SSL key path.

    The default is No.

After the installer completes, review the output for warnings or errors, or for further instructions on configuration changes to the chorus.properties file, and for information on starting or stopping the service.

Port Configuration
By default, communication between the Team Studio server and the server where Jupyter Notebooks is installed occurs over port 8000. You can change this option in the file $CHORUS_HOME/shared/chorus.properties.
Configure Jupyter Notebooks to use the PySpark package. Make sure you have five random ports available to maintain full communication between the server where Jupyter Notebooks for Team Studio is installed and all cluster nodes.
Note: For Spark to work, you must make sure that full communication is open between the Team Studio server and all cluster nodes.
Python Packages
For Jupyter Notebooks for Team Studio to work correctly, certain Python packages must be installed by the user. For a list of packages that Jupyter Notebooks for Team Studio requires for integration, see Python Packages Required for Jupyter Notebooks in Team Studio.

For more information about Jupyter Notebooks, see jupyter.org.