Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3950

Ranger conf dir not consistent with ranger scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None

    Description

      The Ranger User Sync and Ranger Tag Sync have the Ranger configuration directory hardcoded in their startup scripts. This is causing errors when starting the Ranger User Sync and Ranger Tag Sync services

       

      the reason for this issue is that when adding a component, if the component itself contains multiple sub-components and each sub-component has its own configuration, such as Hive, Hive-HCatalog, and Hive-WebHCat, their configuration directories are separate when installed, i.e. `/etc/hive`, `/etc/hive-hcatalog/`, and `/etc/hive-webhcat/`.

      Similarly, in the Ranger specification, Ranger Tag Sync, Ranger User Sync, and Ranger Admin are placed in parallel directories. This seems to have no impact on Ranger Admin, but it does affect Ranger Tag Sync and Ranger User Sync. As shown in the figure, they have hardcoded some configuration files in their startup scripts and other files, such as `/etc/ranger/xxx/logback.xml`. Therefore, this issue will install according to the default configuration directory of Ranger.

      Attachments

        1. image-2023-06-14-15-30-45-257.png
          31 kB
          Jialiang Cai
        2. image-2023-06-14-15-24-13-383.png
          206 kB
          Jialiang Cai
        3. image-2023-06-14-15-21-35-220.png
          229 kB
          Jialiang Cai

        Issue Links

          Activity

            People

              jialiang Jialiang Cai
              jialiang Jialiang Cai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m