You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2015/07/10 23:49:05 UTC

[jira] [Created] (AMBARI-12382) RU - Finalize Failed, Ranger KMS does not advertise version since no structured-out-*.json file

Srimanth Gunturi created AMBARI-12382:
-----------------------------------------

             Summary: RU - Finalize Failed, Ranger KMS does not advertise version since no structured-out-*.json file
                 Key: AMBARI-12382
                 URL: https://issues.apache.org/jira/browse/AMBARI-12382
             Project: Ambari
          Issue Type: Bug
          Components: contrib
    Affects Versions: 2.1.0
            Reporter: Srimanth Gunturi
            Assignee: Srimanth Gunturi
             Fix For: 2.1.0


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.

{code}
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)
{code}

{code}
[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
{code}

*The problem is that restarting Ranger KMS did not generate a structured-out-*.json file that contains the version.*




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)