iwasakims commented on pull request #796:
URL: https://github.com/apache/bigtop/pull/796#issuecomment-877632644
> These links will be removed when install rpm installation.
The RESOURCE_MANAGEMENT_DIR is symbolic link (created by the RPM) and left
after uninstall. It causes error on reinstall. You can reproduce the issue by
docker provisioner.
```
[root@f7ab394c86d1 /]# PYPATH=`find /usr/lib -maxdepth 1 -name 'python*'`
[root@f7ab394c86d1 /]# ls -l $PYPATH/site-packages/resource_management
lrwxrwxrwx 1 root root 45 Jul 10 12:36
/usr/lib/python2.7/site-packages/resource_management ->
/usr/lib/ambari-agent/lib/resource_management
[root@f7ab394c86d1 /]# rpm -e ambari-server ambari-agent
cp: cannot stat ‘/etc/ambari-agent/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]'.
ambari-server 0:off 1:off 2:on 3:on 4:on 5:on 6:off
warning: file /etc/ambari-agent/conf/logging.conf.sample: remove failed: No
such file or directory
warning: file /etc/ambari-agent/conf/ambari-agent.ini: remove failed: No
such file or directory
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]'.
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
[root@f7ab394c86d1 /]# rpm -qa | grep ambari
[root@f7ab394c86d1 /]# ls -l $PYPATH/site-packages/resource_management
lrwxrwxrwx 1 root root 45 Jul 10 12:36
/usr/lib/python2.7/site-packages/resource_management ->
/usr/lib/ambari-agent/lib/resource_management
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]