Note: SAS Data Loader users: If
you want to remove either the Quality Knowledge Base (QKB) or the
SAS Data Management Accelerator for Spark, you must remove them before
removing the SAS Embedded Process. Removing the SAS Embedded Process
removes the scripts that are used to remove these products.
For more information,
see Removing the QKB or SASDMP_ADMIN.SH Syntax.
Note: You need root or passwordless
sudo access to remove the stack.
To remove the SAS Embedded
Process stack using Ambari, follow these steps:
-
Navigate to the
SASHOME/SASHadoopConfigurationLibraries/2.4/Config/Deployment/stacks/sasep
directory
on the client where the SAS software is downloaded and installed.
cd SASHOME/SASHadoopConfigurationLibraries/2.4/Config/Deployment/stacks/sasep
The delete_stack.sh
file should be in this directory.
-
Copy the delete_stack.sh
file to a temporary directory where the cluster manager server is
located. Here is an example using secure copy.
scp delete_stack.sh user@cluster-manager-host:/mydir
-
Use this command to
run the delete script.
./delete_stack.sh <Ambari-Admin-User-Name>
-
Enter the Ambari administrator
password at the prompt.
The following message
appears.
Select one of the options from the below
enter 1 to remove SASEP config file only
enter 2 to remove specific version of SASEP
enter 3 to remove all versions of SASEP
-
Choose one of the three
options:
-
Enter 1 to remove only the ep-config.xml
file.
-
Enter 2 to remove a specific version
of the SAS Embedded Process. If you enter 2, a list of all the versions
that are available for removal appears. You can then enter any of
the versions to be deleted.
-
Enter 3 to remove all versions
of the SAS Embedded Process.
To complete the removal
of the SASEP SERVICE, you are prompted to
restart the Ambari server.
-
Enter
y to
restart the Ambari server. The
SASEP SERVICE should
not appear.
-
Continue the installation
process.