You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "caijialiang (Jira)" <ji...@apache.org> on 2023/04/20 10:29:00 UTC

[jira] [Created] (BIGTOP-3931) Fix Kafka directory permission error

caijialiang created BIGTOP-3931:
-----------------------------------

             Summary: Fix Kafka directory permission error
                 Key: BIGTOP-3931
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3931
             Project: Bigtop
          Issue Type: Bug
          Components: rpm
    Affects Versions: 3.2.0
            Reporter: caijialiang
         Attachments: image-2023-04-20-18-27-48-850.png, image-2023-04-20-18-27-59-407.png

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.

!image-2023-04-20-18-27-48-850.png!

!image-2023-04-20-18-27-59-407.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)