You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:17:52 UTC
[jira] [Created] (TRAFODION-704) LP Bug: 1383597 - Hortonworks
uninstaller script fails
Alice Chen created TRAFODION-704:
------------------------------------
Summary: LP Bug: 1383597 - Hortonworks uninstaller script fails
Key: TRAFODION-704
URL: https://issues.apache.org/jira/browse/TRAFODION-704
Project: Apache Trafodion
Issue Type: Bug
Components: installer
Reporter: Chirag Bhalgami
Assignee: Amanda Moran
Hortonworks uninstaller script terminates ssh session and logs out the user with:
"Server unexpectedly closed network connection" (attached is the screenshot)
1)
ls -la /etc/yum.repos.d/ambari.repo
-rw-r--r-- 1 root root 1086 Oct 21 06:59 /etc/yum.repos.d/ambari.repo
2)
./hortonworks_uninstall --nodes "node1 node2 node3 node4"
The script which executes associated command is traf_hortonworks_uninstall and it has following code:
#==============================================
#Deleting all ambari repos
echo "***INFO: Deleting all ambari repos"
listAmbariRepo=`sudo find / -name ambari.repo*`
for i in ${listAmbariRepo[@]}; do
sudo rm -rf $i
done
#==============================================
Additional info:
1) The command "sudo find / -name ambari.repo*" does not return any value.
2) After executing hortonworks_uninstall (step#2), it removes existing ambari.repo file from /etc/yum.repos.d/ directory but script breaks after removing this repository because of the above code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)