Determine list of available versions for a framework

Install a Specific version of a Framework

dcos package install spark --app-id=/spark21 --yes --package-version=--package-version=1.1.0-2.1.1

The example above illustrates an example installing the package 'spark' for package version 1.1.0-2.1.1; where 1.1.0 is the DC/OS framework version and 2.1.1 is the spark version.

Once the package installer has completed, you can view each of the installed Spark package instances using the following command:

~/mesos/lab1 >dcos package list spark
NAME   VERSION      APP        COMMAND  DESCRIPTION
spark  1.1.0-2.1.1  /spark     spark    Spark is a fast and general cluster computing system for Big...
                    /spark21
                    /sparktwo

The above step will work for all of the currently available packages within the DC/OS universe. As we can see there are 4 instances of the Spark package installed in the cluster, each of the instances has a different name.

Gotchas:

  • Need to specify a specific app-id for each version or the dcos package installer will report back that the "package is already installed"
  • The app-id cannot have capitals nor special characters. Only lowercase alpha and number values are allowed for the appid.
  • The VERSION column incorrectly displays the APP version number. To view the version number you need

results matching ""

    No results matching ""