Description
RU from HDP-2.3.0.0-2522 to HDP-2.3.0.0-2540 failed in Finalize because Ambari server did not know that KMS Sever was on the newer version.
ambari=> select h.host_name, service_name, component_name, version from hostcomponentstate c JOIN hosts h ON c.host_id = h.host_id WHERE service_name = 'RANGER_KMS';
host_name | service_name | component_name | version
---------------------------------+--------------+-------------------+---------
mp-harega-0907-3| RANGER_KMS | RANGER_KMS_SERVER | UNKNOWN
mp-harega-0907-1| RANGER_KMS | RANGER_KMS_SERVER | UNKNOWN
(2 rows)
[root@mp-harega-0907-3 ~]# hdp-select status | grep ranger-kms ranger-kms - 2.3.0.0-2540 [root@mp-harega-0907-3 data]# ls /var/lib/ambari-agent/data/structured-out-269.json ls: cannot access /var/lib/ambari-agent/data/structured-out-269.json: No such file or directory
The problem is that restarting Ranger KMS did not generate a structured-out-.json file that contains the version.*