ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12382) RU - Finalize Failed, Ranger KMS does not advertise version since no structured-out-*.json file
Date Fri, 10 Jul 2015 21:51:05 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-12382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Srimanth Gunturi updated AMBARI-12382:
--------------------------------------
    Attachment: AMBARI-12382.patch

Attaching patch where the mapping to stack component was not defined only for Ranger KMS.
It was defined for all other services. Due to this the version of Ranger KMS was not being
determined, resulting in upgrade failure during finalize where hosts with Ranger-KMS were
still in Upgrading state.

> 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
>
>         Attachments: AMBARI-12382.patch
>
>
> 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)

Mime
View raw message