Identify cluster version details

Identify your Data Lake and Data Hub’s Runtime version, Data Lake, Data Hub, and FreeIPA image version and operating system (OS) type, and Data Lake shape.

Your upgrade path to 7.2.18 may depend on the current Runtime version, image version, and OS of your cluster. Cloudera recommends that you identify your version information as follows:

  1. Identify cluster’s Runtime version
  2. Identify cluster’s image version, image creation date, OS type
  3. Identify Data Lake shape

Identify cluster’s Runtime version

Follow these instructions to identify your Data Lake and Data Hub’s Runtime version. You should follow these steps separately for each cluster.

Steps

  1. In the Management Console, navigate to the details page of the Data Lake or Data Hub that you would like to upgrade.

  2. In the Cloudera Manager Info section find the field called “Runtime version”:

Get the Runtime version of your Data Lake from the CDP CLI by using the following command:

cdp datalake describe-datalake --datalake-name <DL-NAME>

Get the Runtime version of your Data Hub from the CDP CLI by using the following command:

cdp datahub describe-cluster --datahub-name <DH-NAME>

The version information is displayed in the following format:

7.2.17-1.cdh7.2.17.p200.46967063

The highlighted digits show the current Runtime version and the number after p indicates the current Service Pack version. In the above example, the cluster is using Cloudera Runtime version 7.2.17.200.

Identify cluster’s image version, image creation date, OS type

Follow these instructions to identify Data Lake and Data Hub image version and OS type. You should follow these steps separately for each cluster.

Steps

  1. In the Management Console, navigate to the details page of the Data Lake or Data Hub that you would like to upgrade.

  2. Scroll down to access the left navigation pane.

  3. From the left navigation pane, select Image Details:
  4. You will see information similar to the following:

    Image Id: ami-0e95ecddb7fc75ea8
    Image Catalog Url: https://cloudbreak-imagecatalog.s3.amazonaws.com/v3-prod-cb-image-catalog.json
    Image Creation Date: Jan 9, 2024
    OS Type:redhat7
    Version: 7.2.17

    Under OS Type:

    • If you see “redhat7”, your cluster is using a CentOS 7 OS image. This is a known issue.

    • If you see “redhat8”, your cluster is using a RHEL 8 OS image.

    Clicking on image ID will redirect you to the image catalog and provide you with further information, including the actual OS Type:

Get Data Lake’s image version from the CDP CLI by using the following command:

cdp datalake upgrade-datalake --show-latest-available-image-per-runtime --datalake-name <DL-NAME>

Get Data Hubs’s image version from the CDP CLI by using the following command:

cdp datahub upgrade-cluster --show-latest-available-image-per-runtime --cluster-name <DH-NAME>
The output of this command looks like this, providing you with the OS information:
{
 "targetImage": {
 "catalog": "https://cloudbreak-imagecatalog.s3.amazonaws.com/v3-prod-freeipa-image-catalog.json",
 "id": "a5b2580e-7487-4ee6-a80f-d991fa00cd13",
 "os": "redhat8",
 "imageName": "ami-0935d849de6a25e45",
 "date": "2024-01-09"
 },
 "originalImage": {
 "catalog": "https://cloudbreak-imagecatalog.s3.amazonaws.com/v3-prod-freeipa-image-catalog.json",
 "id": "e1f92688-3773-47dd-89ff-561933540108",
 "os": "centos7",
 "imageName": "ami-0db1b7000c8a27fd4",
 "date": "2023-11-22"
 },
 "operationId": "3a50f30f-33f3-4f81-b9bb-30c119023ff0"
}

Follow these instructions to identify FreeIPA OS type.

Steps

  1. In the Management Console, navigate to the environment details page,.
  2. Click on the FreeIPA tab.
  3. In the Nodes tab (which is open by default), expand one section corresponding to an instance ID.
  4. Under Image Details, you can find the OS Type:

Identify Data Lake shape

Follow these instructions to identify Data Lake’s shape.

  1. In the Management Console, navigate to the details page of the Data Lake that you would like to upgrade:
  2. Find the Scale field. There are three possible values: “Light Duty”, “Medium Duty HA” and “Enterprise Data Lake”.

Get the Data Lake shape from the CDP CLI by using the following command:

cdp datalake describe-datalake –datalake-name <DL-NAME>

Find the “scale” field in the output of this command. There are three possible values: “Light Duty”, “Medium Duty HA” and “Enterprise Data Lake”.