Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12382

RU - Finalize Failed, Ranger KMS does not advertise version since no structured-out-*.json file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • contrib
    • None

    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.*

      Attachments

        1. AMBARI-12382.patch
          0.7 kB
          Srimanth Gunturi
        2. Screen Shot 2015-07-10 at 4.41.21 PM.png
          297 kB
          Srimanth Gunturi

        Activity

          People

            srimanth.gunturi Srimanth Gunturi
            srimanth.gunturi Srimanth Gunturi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: