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

Create Ranger Hive Service during Hive Metastore restart

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.1
    • 2.5.1
    • ambari-server
    • None

    Description

      Need to create Ranger Hive service in Cluster1 having Hive Metastore + Ranger Service. The Ranger Hive service created in Cluster1 will be used by Cluster2 having Ranger Hive Plugin enabled under Hive Server2.

      Solution:
      Need service creation logic using Ranger REST API. The REST API code is already available for use.

      If ranger.service.config.param.enable.hive.metastore.lookup property present in ranger-hive-plugin-properties with value true and Ranger configurations are present in the cluster(Ranger installed in same cluster) then only create Ranger Hive service.

      For installation via blueprint, two extra custom config parameters ranger.service.config.param.enable.hive.metastore.lookup with value true and ranger.service.config.param.hive.site.file.path with value /etc/hive/conf/hive-site.xml are required to be provided in blueprint under ranger-hive-plugin-properties config type.

      For installation via UI, need to add properties in custom section of ranger-hive-plugin-properties under Hive Service config tab.

      Attachments

        1. AMBARI-20816-trunk.patch
          14 kB
          Mugdha Varadkar
        2. AMBARI-20816.patch
          7 kB
          Mugdha Varadkar

        Issue Links

          Activity

            People

              mugdha.varadkar Mugdha Varadkar
              mugdha.varadkar Mugdha Varadkar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: