You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Yuqi Gu (Jira)" <ji...@apache.org> on 2022/06/15 07:08:00 UTC
[jira] [Created] (BIGTOP-3705) Refine the Ambari RPM spec to fix warning after rpm uninstallation
Yuqi Gu created BIGTOP-3705:
-------------------------------
Summary: Refine the Ambari RPM spec to fix warning after rpm uninstallation
Key: BIGTOP-3705
URL: https://issues.apache.org/jira/browse/BIGTOP-3705
Project: Bigtop
Issue Type: Sub-task
Components: build, rpm
Reporter: Yuqi Gu
Assignee: Yuqi Gu
When uninstalling Ambari rpm, some warning issues:
{code:java}
cp: cannot stat ‘/etc/ambari-server/conf’: No such file or directory
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
Erasing : ambari-server-2.7.5.0-1.el7.noarch 1/1
warning: file /var/lib/ambari-server/resources/stacks/Bigtop/2.1: remove failed: No such file or directory
warning: file /var/lib/ambari-server/resources/stacks/Bigtop: remove failed: No such file or directory
warning: file /etc/ambari-server/conf/metrics.properties: remove failed: No such file or directory
warning: file /etc/ambari-server/conf/krb5JAASLogin.conf: remove failed: No such file or directory
warning: file /etc/ambari-server/conf: remove failed: No such file or directory
{code}
The root cause : Duplicated deleting operation in Ambari RPM spec.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)