Member since
06-02-2025
11
Posts
0
Kudos Received
0
Solutions
06-22-2025
11:03 PM
Dear Kshitij Upadhyay, Many thanks for your support. I have followed all the steps you provided. However, as mentioned earlier, the Cloudera ecosystem I’m working in does not have internet access. I have already loaded the Docker image onto the server, but I’m unable to validate or pull it for use within the Cloudera CDSW platform. Could you please support me with the appropriate steps to proceed in this setup? Best wishes, Salim
... View more
06-17-2025
11:13 PM
Dear All, I hope you are doing well. I would like your help in understand how I can secure the deployed application. Public Applications By default, authentication for applications is enforced on all ports and users cannot create public applications. If desired, the Admin user can allow users to create public applications that can be accessed by unauthenticated users. To allow users to create public applications on an Cloudera AI Workbench: As an Admin user, turn on the feature flag in Admin > Security by selecting Allow applications to be configured with unauthenticated access. When creating a new application, select Enable Unauthenticated Access. For an existing application, in Settings select Enable Unauthenticated Access. To prevent all users from creating public applications, go to Admin > Security and deselect Allow applications to be configured with unauthenticated access. All existing public applications will immediately stop being publicly accessible. Transparent Authentication Cloudera AI can pass user authentication information to an application, if the application expects an authenticated request. The REMOTE-USER and REMOTE-USER-PERM HTTP headers will be injected to the application hosted by the user. For example: Remote-user=<username>
Remote-user-perm=<RO/RW/Unauthorized> How can I implement and integrate the Transparent Authentication in the deployed application script? Best wishes, Salim
... View more
Labels:
- Labels:
-
Cloudera Machine Learning (CML)
06-17-2025
11:06 PM
Hi All, I hope you are doing well. I would like from you the support in explain these limitations. Limitations with Analytical Applications This topic lists all the limitations associated with the Applications feature. Port availability Cloudera AI exposes only 2 ports per workload. Therefore, you can run a maximum of 2 web applications simultaneously, on these ports: CDSW_APP_PORT CDSW_READONLY_PORT By default, third-party browser-based editors run on CDSW_APP_PORT. Therefore, for projects that are already using browser-based editors, you are left with only one other port to run applications on: CDSW_READONLY_PORT. How can I integrate these ports to my web application? Best wishes, Salim
... View more
Labels:
- Labels:
-
Cloudera Machine Learning (CML)
06-17-2025
04:04 AM
Dear All, I hope you’re doing well. I’m attempting to add a new custom runtime in Cloudera AI, but I encounter an error when clicking Validate: “Could not fetch the image metadata.” For context: I’ve already uploaded the Docker image to the Cloudera server. Running docker images | grep <image_name> confirms that the image is present. Important: The Cloudera AI server has no internet access. Could someone please help me troubleshoot this issue? Thank you in advance for your support. Best regards, Salim
... View more
Labels:
- Labels:
-
Cloudera Machine Learning (CML)
06-16-2025
10:44 PM
Hi Kshitij Upadhyay, many thanks for your support. can you please explain more as i can not understand?
... View more
06-14-2025
11:55 PM
Hi All, I hope you are doing well. I have already built a custom Docker image and would like to transfer and deploy it on our Cloudera AI cluster. However, the cluster does not have internet access, and I need your support on how to properly distribute and run this image in such an air-gapped environment. Could you please guide me through the best method to: Transfer the Docker image to the Cloudera cluster. Load and run it without internet access. Looking forward to your support. Best wishes, Salim
... View more
Labels:
- Labels:
-
Cloudera Machine Learning (CML)
06-11-2025
10:48 PM
Hi, I would like to know how can i get if it is available the company docker registry. To push the image to my company Docker registry. Best wishes, Salim
... View more
Labels:
06-10-2025
10:52 PM
Dear Mike, Thank you for your support. I would like to highlight that I do not have internet access within CDSW, as our Cloudera environment is fully air-gapped. From your previous message, I understand that you are suggesting I create a custom Docker image and run it accordingly. I have already created a custom Docker image — however, I would appreciate it if you could review it and provide your feedback. Additionally, could you clarify your expectations regarding the base operating system for the container image? and the Base image? For your reference, we are using CDSW version 1.10.5. Best wishes, Salim ### **Description of the Docker Image** This Docker image is a **customized environment** tailored for Cloudera Data Science Workbench (CDSW) in an **air-gapped (offline)** setting. It includes the following components: 1. **Base Image**: - Starts with `docker.repository.cloudera.com/cdsw/engine:8` , ensuring compatibility with CDSW. 2. **Operating System**: - **Ubuntu 20.04 LTS**, a lightweight and stable Linux distribution. 3. **MySQL 8.0.4**: - A milestone release of MySQL, installed from pre-downloaded `.deb` packages (no internet required). 4. **Python 3.8.18**: - Compiled from source to ensure version compatibility. 5. **Node.js 22.16.0**: - Installed via a pre-extracted binary archive. 6. **Grafana Enterprise 11.6.0**: - Installed using a `.deb` package for enterprise-grade monitoring. 7. **Ollama**: - A pre-downloaded binary for running large language models locally. 8. **Python Packages**: - Installed **offline** from a pre-downloaded `requirements.txt` file and local wheels (`.whl` or `.tar.gz`) . 9. **Exposed Ports**: - MySQL (3306), Python apps (8000), Grafana (3000), and Ollama (11434). --- ### **Requirements to Build the Image** To build this image in an **air-gapped environment**, you must pre-download and include the following: 1. **Pre-downloaded Dependencies**: - **MySQL 8.0.4 `.deb` packages** (from Cloudera or MySQL archives). - **Python 3.8.18 source tarball** (from [python.org](https://www.python.org/ftp/python/3.8.18/)). - **Node.js 22.16.0 Linux x64 binary** (from [nodejs.org](https://nodejs.org/dist/v22.16.0/)). - **Grafana Enterprise 11.6.0 `.deb` package** (from Grafana’s enterprise download page). - **Ollama binary** (from [ollama.ai/download](https://ollama.ai/download)). 2. **Offline Python Packages**: - Use `pip download -r requirements.txt -d python_packages/` in an online environment to fetch all dependencies locally . 3. **Directory Structure**: Ensure the following files/directories exist in the build context: ```bash . ├── Dockerfile ├── requirements.txt ├── ollama # Pre-downloaded Ollama binary └── dependencies/ ├── mysql-8.0.4/ # MySQL .deb packages ├── python/ # Python 3.8.18 source ├── node-v22.16.0-linux-x64.tar.xz ├── grafana-enterprise-11.6.0.deb └── python_packages/ # Pre-downloaded Python wheels ``` 4. **Build Command**: Run: ```bash docker build -t custom-cdsw:latest . ``` 5. **Push to Private Registry (Optional)**: For CDSW integration, push the image to a registry accessible by CDSW: ```bash docker tag custom-cdsw:latest <your-registry>/custom-cdsw:latest docker push <your-registry>/custom-cdsw:latest ``` --- ### **Key References** - Docker images contain application code, libraries, tools, and dependencies . - Use `docker inspect` to view details about the image . - Dockerfiles are often shared in repositories for transparency . Let me know if you need further clarification!
... View more
06-09-2025
09:50 PM
Dear Diana, Many thanks for your support. best wishes, Salim
... View more