Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade HDF services

  1. Confirm that the NiFi components are installed along with version (3.1.0.0).
    [root@host registry]# yum list installed | grep nifi
    nifi_3_1_0_0_<build-no>.x86_64
    nifi-registry_3_1_0_0_<build-no>.x86_6 
  2. Display the current version associated with each component. In the following example, 3.1.0.0 is current version.
    [root@host registry]# hdf-select status | grep nifi
    nifi - 3.1.0.0-<build-no>
    nifi-registry - 3.1.0.0-<build-no>
  3. Install binaries for the HDF services to which you want to upgrade.

    See the HDF Release Notes for the repository information, including service version and build number.

    [root@host ~]# yum install -y <service>_<version>_<build-number>*

    For example:

    [root@host ~]# yum install -y nifi_3_2_0_0_520*
    Note
    Note
    Only run the yum install command on Ambari Agent hosts where NiFi is already installed.
  4. Use hdf-select to ensure appropriate links to new installed version.
    [root@host ~]# hdf-select set nifi 3.2.0.0-<build-no>
    [root@host ~]# hdf-select set nifi -registry 3.2.0.0-<build-no>
  5. Confirm that hdf-select shows the new version for the HDF services you updated.
    [root@host ~]# hdf-select status | grep 3.2.0.0
    nifi - 3.2.0.0-<build-no>
    nifi-registry - 3.2.0.0-<build-no>
  6. Log into Ambari and start NiFi and NiFi Registry.
  7. You may add Schema Registry or SAM to your cluster, as needed.