Skip to content

BIGTOP-4541. hadoop RPM does not own /usr/bigtop/<version>/usr/lib/hadoop directory#1401

Open
magnuma3 wants to merge 1 commit into
apache:masterfrom
magnuma3:fix-rpm-owned-hadoop
Open

BIGTOP-4541. hadoop RPM does not own /usr/bigtop/<version>/usr/lib/hadoop directory#1401
magnuma3 wants to merge 1 commit into
apache:masterfrom
magnuma3:fix-rpm-owned-hadoop

Conversation

@magnuma3

@magnuma3 magnuma3 commented Jul 10, 2026

Copy link
Copy Markdown

Description of PR

The hadoop_3_6_0 package installs its files under /usr/bigtop/3.6.0/usr/lib/hadoop, but the directory itself is not owned by the package (not declared with %dir in the spec %files section).

As a result, removing the package leaves /usr/bigtop/3.6.0/usr/lib/hadoop

$ rpm -qf /usr/bigtop/3.6.0/usr/lib/hadoop
file /usr/bigtop/3.6.0/usr/lib/hadoop is not owned by any package

Fix: declare the directory in %files, e.g.

%dir %{usr_lib_hadoop}

Environment: Bigtop 3.6.0-SNAPSHOT, EL9.

How was this patch tested?

Built the hadoop RPMs on Navix 9 with this patch, then verified:

For code changes:

  • Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
  • Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant