Customizing CDSW for migrating host mounts
For security reasons, Cloudera AI does not allow you to mount a directory directly from hosts. You must customize Cloudera Data Science Workbench (CDSW) runtime to make contents of a directory available to your Cloudera AI workloads.
Before migration, you must perform pre-migration steps if you have mounted additional dependencies from the host in CDSW. For example, you might have mounted directories containing libraries needed for running your workloads. You must make these libraries available in Cloudera AI. In the pre-migration steps, you can set up CDSW for the migration to mount your libraries in Cloudera AI.
If you loaded libraries from a host mount in the past, Cloudera recommends creating a custom runtime in CDSW, and to change the project to use the new custom runtime, and then perform the migration. However, for anything other than the libraries, load the data to all the sessions in Cloudera AI using the custome Runtime addons procedure after migration to mount data in all the workloads in Cloudera AI. Custom runtime addons do not allow writing to the file system as the host mount in CDSW does.
