You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "KWON BYUNGCHANG (Jira)" <ji...@apache.org> on 2026/07/10 00:02:00 UTC
[jira] [Created] (BIGTOP-4541) hadoop RPM does not own /usr/bigtop//hadoop directory, leaving it behind on uninstall
KWON BYUNGCHANG created BIGTOP-4541:
---------------------------------------
Summary: hadoop RPM does not own /usr/bigtop/<version>/hadoop directory, leaving it behind on uninstall
Key: BIGTOP-4541
URL: https://issues.apache.org/jira/browse/BIGTOP-4541
Project: Bigtop
Issue Type: Bug
Reporter: KWON BYUNGCHANG
The hadoop_3_6_0 package installs its files under /usr/bigtop/3.6.0/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
{code}
$ 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
{code}
Fix: declare the directory in %files, e.g.
{code}
%dir %{usr_lib_hadoop}
{code}
Environment: Bigtop 3.6.0-SNAPSHOT, EL9.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)