-
Notifications
You must be signed in to change notification settings - Fork 9
FAQs
Q: I do not want to migrate all project data into new CML workspaces. How do I ignore/skip certain files and directories?
A: The CLI tool recognises a file named .exportignore in which you can specify the files/directories either in full or through patterns. You would have to create this file at the root of the CDSW/CML project (i.e., /home/cdsw) before running the export sub-command. The .exportignore file follows the same semantics as that of .gitgnore.
Q: How to fix the error "REMOTE HOST IDENTIFICATION HAS CHANGED!" or "HOST KEY VERIFICATION FAILED"?
A: Remove the host key entry from the file .ssh/known_hosts using command ssh-keygen -R server-hostname-or-IP. For ex: ssh-keygen -R '[localhost]:5104'
A: To resolve this error, you need to create a bundle of all root or intermediate Certification Authorities (CAs) in .pem format. Save this bundle file and provide its path (ca_path) inside the export/import-config.ini file. This will ensure that Python can locate the trusted certificate and prevent the error from occurring.
A: It means the utility cannot find a section for the “sample_project” inside export-config.ini or import-config.ini file. Add the section in the above files, section name is same as project name.
A: Steps to create users/roles/groups:
- In the Cloudera Management Console, click on 'User Management' and utilize the 'Upload Users' link in the action menu to create users in the control plane.
- Select 'Groups' and click the 'Create Group' button to generate groups within the control plane. For more information on user management visit link.
- You can add users to the groups and assign roles at the group level. The MLAdmin or MLUser roles are necessary to access CML services. For more details on CML specific roles visit link.
- The above process will sync users to the CDP control plane. To sync users from the control plane to the CML workspace, click on the
Run Sync Nowbutton under theSite Administration -> Userstab. - Validate all settings are migrated for the user to target CML workspace - SSH settings, Env vars..etc
A: Only admins can change the ownership of the project either through UI or through APIv2. To change ownership through the UI (Only applicable for Public Cloud), access Project Settings → General → Project Owner (dropdown). Once you've updated the owner, click the "Update Project" button.
To modify ownership through APIv2,
-
Via Script : Please refer the example script.
-
Via Swagger UI : Navigate to User Settings → API Keys → Swagger UI. Generate an API Key on the same page as well.
In the Swagger UI, begin by clicking the "Authorize" button and input the bearer API key in the format
Bearer API-key. Retrieve the project ID using the APIGET - /api/v2/projects. Employ the PATCH API/api/v2/projects/{project.id}to update the project owner.
A: You can add project collaborators to the target workspace either through UI or APIv2. To add collaborators through the UI, access the collaborators tab within a specific project. You can search for the user by their username or email, assign the appropriate permissions, and then click the "Add" button.
You can also use the PUT API /api/v2/projects/{project_id}/collaborators/{username} to add collaborators to the project.
A: Cloudera Data Science Workbench only supports upgrades to version n from the previous two versions (n-1 and n-2). If you are using a lower version, you must first upgrade to version n-2, or n-1 and then upgrade to version n. Hence, identify the shortest path to upgrade to CDSW 1.10.2. Refer this
If you are on older version than 1.10.2 and need to know the supported upgrade paths, please reach out to peter.ableda@cloudera.com and chrisv@cloudera.com