Note: SAS Data Loader users: If
you want to remove the Quality Knowledge Base (QKB), you must remove
it before removing the SAS Embedded Process. Removing the SAS Embedded
Process removes the qkb_push.sh script that is used to remove the
QKB.
For more information,
see Removing the QKB from the Hadoop Cluster.
To remove the SAS Embedded
Process stack using Ambari, follow these steps:
-
Start the Ambari server
and log on.
-
-
-
The list of nodes where
the SASEP SERVICE is running appears.
-
Remove the SAS Embedded
Process stack from each node:
-
-
-
-
-
Click
OK to
confirm the removal.
-
Click
Back to
return to the node list.
-
Repeat Steps 5a through
5f until the SAS Embedded Process stack is removed from all nodes.
Note: This step removes the SAS
Embedded Process stack only from the cluster. It does not remove the
SAS Embedded Process stack from Ambari.
-
Remove the SAS Embedded
Process stack from Ambari:
Note: You need root or passwordless
sudo access to remove the stack.
-
Navigate to the
SASHOME/SASHadoopConfigurationLibraries/2.1/Config/Deployment/stacks/sasep
directory
on the client where the SAS software is downloaded and installed.
cd SASHOME/SASHadoopConfigurationLibraries/2.1/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> <Hadoop-cluster-name>
CAUTION:
Running
the delete_stack.sh script deletes all SAS Embedded Process stacks
that are installed.
You cannot delete only
one stack.
Note: The cluster name must be
the non-qualified name of the Hadoop cluster not a name that is resolved
as a host name. An example is to use hdp50c1
instead
of hdp50c1.unx.xyzcorp.com
.
-
Enter the Ambari administrator
password at the prompt.
A message that explains
what is being removed appears.
-
-
Refresh the Ambari server.
The
SASEP SERVICE should not appear.
-
Continue the installation
process.