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)

Reply via email to