Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,12 @@ if [ "${SAGEMAKER_APP_TYPE_LOWERCASE}" = "jupyterlab" ] && [ "$is_express_mode"

# Install sm-spark-cli
bash /etc/sagemaker-ui/workflows/sm-spark-cli-install.sh || echo "Warning: sm-spark-cli installation failed, continuing..."

# Install Teradata driver (non-blocking; not available via conda-forge).
# timeout + limited retries bound the delay for environments with no
# internet egress (e.g. fully isolated VpcOnly), where pip's default
# retry/backoff can otherwise take several minutes to fail out.
timeout 15 pip install --retries 1 teradatasql teradatasqlalchemy || echo "Warning: teradata driver installation failed or timed out, continuing..."

@djdax djdax Jul 14, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why "timeout" ? We should not block at all for this installation. Any time spent here will increase latency of launching JupyterLab. Send it straight to background and log a warning if it fails. "nohup pip install --retries 1 teradatasql teradatasqlalchemy &"

fi

# Execute network validation script, to check if any required AWS Services are unreachable
Expand Down