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

Kafka directory permission error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0, 3.2.2
    • rpm
    • None

    Description

      By default, all components installed under the Bigtop stack have root permissions except for the following directories:

      %{parent_dir}/var/lib/{component_name}
      /etc/{component_name}
      /var/log/{component_name}
      /var/run/%{component_name}
      Normally, having incorrect permissions for the Kafka directory would not cause any issues. However, when using Ranger to adapt Kafka, all plugin libraries in Ranger have root permissions. When installing the Ranger Kafka plugin, there is a conflict between the Kafka RPM, which has the kafka user permissions for /usr/bigtop/3.2.0/usr/lib/kafka/libs, and the Ranger Kafka plugin, which has root permissions. This conflict causes a yum installation error, making it impossible to install the plugin.

      Attachments

        1. image-2023-04-20-18-27-59-407.png
          48 kB
          caijialiang
        2. image-2023-04-20-18-27-48-850.png
          58 kB
          caijialiang

        Issue Links

          Activity

            People

              jialiang caijialiang
              jialiang caijialiang
              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 - 50m
                  50m