Upgrade HDF services
-
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
-
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>
-
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_3_1_0_10*
NoteOnly run theyum install
command on Ambari Agent hosts where NiFi is already installed. -
Use
hdf-select
to ensure appropriate links to new installed version.[root@host ~]# hdf-select set nifi 3.3.1.0-<build-no> [root@host ~]# hdf-select set nifi -registry 3.3.1.0-<build-no>
-
Confirm that
hdf-select
shows the new version for the HDF services you updated.[root@host ~]# hdf-select status | grep 3.3.1.0 nifi - 3.3.1.0-<build-no> nifi-registry - 3.3.1.0-<build-no>
- Log into Ambari and start NiFi and NiFi Registry.
- You may add Schema Registry or SAM to your cluster, as needed.