Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-523

Update embedded service-def creation sequence and other misc fixes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • admin
    • None

    Description

      ID for service-defs are auto-generated during creation in the current version. In earlier version (0.4), the equivalent of service-def is assetType - which had the following pre-defined values:

      { HDFS: 1, HBase:2, Hive:3, Knox:5, Storm:6 }

      .

      It will be good to maintain service-def IDs for HDFS/HBase/Hive/Knox/Strom same as their equivalent assetType from earlier version. These service-defs are created when Ranger Admin starts up for the first time (or during upgrade from the earlier version). Creating these service-defs in the correct order should get them the desired IDs in most deployments.

      Also noticed that AppConstants.java has 1037 assigned to two class-types: CLASS_TYPE_RANGER_POLICY_WITH_ASSIGNED_ID and CLASS_TYPE_XA_KMS_KEY. This needs to be fixed.

      Attachments

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: