Adding dependent packages
Optionally, add any additional packages that applications in the instance group require to run.
Before you begin
About this task
When you add a dependent package and deploy an instance group, the package is uploaded to
the repository and deployed to hosts of the instance group. As a result, the dependent files are
already downloaded to the hosts and available when you start the instance group. By default, the Spark package is
deployed to all resource groups; a container package with metadata is deployed to all resource
groups except for notebook resource groups; and notebook packages are deployed to their own resource groups.
Note:
- When your cluster is installed to a local file system and the instance groups that share packages use different execution users, you must upload and deploy the package directly from the package repository.
- When your cluster is installed to a shared file system, do not share packages between instance groups. If you still want to use the same package for multiple instance groups, use different package names and upload the package separately to each instance group. Or, upload and deploy the package directly from the package repository.
For information on adding a package to the repository, see Adding packages to the Service Packages repository or egodeploy.
You can add a package to a instance group, either by selecting an existing package from the repository or by selecting one from your computer. As a convenience, you can also create a package from a single-file.
Procedure
What to do next
- Optionally, to add data connectors to the instance group, see Adding data connectors.
- Create and deploy the instance group.
- Click Create and Deploy Instance Group to create the instance group and deploy its packages simultaneously. In this case, the new instance group appears on the Instance Groups page in the Ready state. Verify your deployment and then start the instance group.
- Click Create Only to create the instance group but manually deploy its packages later. In this case, the new instance group appears on the Instance Groups page in the Registered state. When you are ready to deploy packages, deploy the instance group and verify the deployment. Then, start the instance group.