upgrade-datalake

subtitle

OS or data platform upgrade for the SDX cluster.

version

0.9.128

Description

OS or data platform upgrade for the SDX cluster. You have the option to either specify one of ‘imageId’, ‘runtime’ or ‘lockComponents’ or both ‘imageId’ and ‘lockComponents’ or none of the parameters.

Synopsis

  upgrade-datalake
--datalake-name <value>
[--image-id <value>]
[--runtime <value>]
[--lock-components | --no-lock-components]
[--dry-run | --no-dry-run]
[--show-available-images | --no-show-available-images]
[--show-latest-available-image-per-runtime | --no-show-latest-available-image-per-runtime]
[--skip-backup | --no-skip-backup]
[--skip-ranger-hms-metadata | --no-skip-ranger-hms-metadata]
[--skip-atlas-metadata | --no-skip-atlas-metadata]
[--skip-ranger-audits | --no-skip-ranger-audits]
[--skip-datahub-validation | --no-skip-datahub-validation]
[--skip-backup-validation | --no-skip-backup-validation]
[--rolling-upgrade-enabled | --no-rolling-upgrade-enabled]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--datalake-name (string)

The name or CRN of the datalake.

--image-id (string)

The id of an image to upgrade to

--runtime (string)

The runtime version to upgrade to

--lock-components | --no-lock-components (boolean)

Perform an os upgrade only

--dry-run | --no-dry-run (boolean)

Checks the eligibility of an image to upgrade

--show-available-images | --no-show-available-images (boolean)

Returns the list of images that are eligible for the upgrade

--show-latest-available-image-per-runtime | --no-show-latest-available-image-per-runtime (boolean)

Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate

--skip-backup | --no-skip-backup (boolean)

If provided, will skip the backup flow for the upgrade process.

--skip-ranger-hms-metadata | --no-skip-ranger-hms-metadata (boolean)

Skips the backup of the databases backing HMS/Ranger services. Redundant if –skip-backup is included. If this option is not provided, the HMS/Ranger services are backed up by default.

--skip-atlas-metadata | --no-skip-atlas-metadata (boolean)

Skips the backup of the Atlas metadata. Redundant if –skip-backup is included. If this option is not provided, the Atlas metadata is backed up by default.

--skip-ranger-audits | --no-skip-ranger-audits (boolean)

Skips the backup of the Ranger audits. Redundant if –skip-backup is included. If this option is not provided, Ranger audits are backed up by default.

--skip-datahub-validation | --no-skip-datahub-validation (boolean)

With this option, the Data Lake upgrade can be performed with running Data Hub clusters. This option may cause problems on the running Data Hub clusters during the Data Lake upgrade.

--skip-backup-validation | --no-skip-backup-validation (boolean)

Skips the validation steps that run prior to the backup. Redundant if –skip-backup is included. If this option is not provided, the validations are performed by default.

--rolling-upgrade-enabled | --no-rolling-upgrade-enabled (boolean)

Enables the ability to perform rolling runtime upgrade.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

current -> (object)

Basic information about an image.

imageName -> (string)

The name of the image.

imageId -> (string)

The id of the image.

imageCatalogName -> (string)

Name of the image catalog, the image is from.

created -> (integer)

Image creation timestamp

componentVersions -> (object)

Versions of the image components

cm -> (string)

Version of CM

cmGBN -> (string)

GBN of CM

cdp -> (string)

CDP version

cdpGBN -> (string)

CDP GBN

os -> (string)

OS name

osPatchLevel -> (string)

OS patch level

upgradeCandidates -> (array)

List of images and components to upgrade to

item -> (object)

Basic information about an image.

imageName -> (string)

The name of the image.

imageId -> (string)

The id of the image.

imageCatalogName -> (string)

Name of the image catalog, the image is from.

created -> (integer)

Image creation timestamp

componentVersions -> (object)

Versions of the image components

cm -> (string)

Version of CM

cmGBN -> (string)

GBN of CM

cdp -> (string)

CDP version

cdpGBN -> (string)

CDP GBN

os -> (string)

OS name

osPatchLevel -> (string)

OS patch level

reason -> (string)

The reason why upgrade is not possible

Form Factors

public