Github user mkby commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/991#discussion_r104580774 --- Diff: install/python-installer/db_uninstall.py --- @@ -96,13 +96,13 @@ def main(): remotes = [Remote(node, pwd=pwd) for node in nodes] # stop trafodion on the first node - remotes[0].execute('sudo su %s -l -c ckillall' % TRAF_USER, chkerr=False) + #remotes[0].execute('sudo su %s -l -c ckillall' % TRAF_USER, chkerr=False) # remove trafodion userid and group on all trafodion nodes, together with folders for remote in remotes: info('Remove Trafodion on node [%s] ...' % remote.host) remote.execute('ps -ef|grep ^%s|awk \'{print $2}\'|xargs sudo kill -9' % TRAF_USER, chkerr=False) - remote.execute('ps -ef|grep krb5check|awk \'{print $2}\'|xargs sudo kill -9', chkerr=False) # traf kerberos service + remote.execute('trafid=`getent passwd %s|awk -F: \'{print $3}\'`; if [[ -n $trafid ]]; then ps -ef|grep ^$trafid|awk \'{print $2}\'|xargs sudo kill -9; fi' % TRAF_USER, chkerr=False) remote.execute('sudo -n /usr/sbin/userdel -rf %s' % TRAF_USER, chkerr=False) --- End diff -- good suggestion, thanks.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---