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 23:44:04 GMT

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

Srimanth Gunturi updated AMBARI-12382:
--------------------------------------
    Attachment: Screen Shot 2015-07-10 at 4.41.21 PM.png

After patch, the version correctly shows up for Ranger-KMS service and host correctly shows
up as UPGRADED.

Also, upgrade finalizes successfully (screenshot attached)

> 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, Screen Shot 2015-07-10 at 4.41.21 PM.png
>
>
> 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