How do I clean up the system environment after I uninstall InfoSphere BigInsights?

Technote (FAQ)


Question

How do I clean up the system environment after I uninstall InfoSphere BigInsights?

Answer

The following steps can be used to clean up your system environment:

1) Save the install.xml file, which is located under $BIGINSIGHTS_HOME/conf.

This file will provide a list of all the directories that were used during the previous installation, which is especially important are the following entries:


<general>
<biginsights-install-directory>opt/ibm/biginsights</biginsights-install-directory>
<biginsights-data-log-directory>var/ibm/biginsights</biginsights-data-log-directory>
<directory-prefix>/</directory-prefix>

<hadoop>
<general>
<cache-directory>hadoop/mapred/local</cache-directory>
<log-directory>var/ibm/biginsights/hadoop/logs</log-directory>
<mapred-system-directory>/hadoop/mapred/system</mapred-system-directory>

<namenode>
.......
<name-directory>hadoop/hdfs/name</name-directory>

<datanode>
...
<data-directory>/hadoop/hdfs/data</data-directory>

The directory-prefix setting does not exist in InfoSphere BigInsights V1.1.

2) Run the InfoSphere BigInsights uninstallation program:

$BIGINSIGHTS_HOME/bin/uninstall.sh

If the uninstallation program succeeds, then your system is clean and you can start a new installation of InfoSphere BigInsights. Otherwise, proceed to steps 3 and 4.

3) Assuming you are using the default installation directories, manually remove the following:

-- /opt/ibm/biginsights

-- /var/ibm/biginsights

-- /hadoop/hdfs

-- /hadoop/mapred

Log in as the BigInsights administrator user (the defaul is biadmin). You can then issue the following command on each node in your cluster:

rm -rf $BIGINSIGHTS_VAR && rm -rf $BIGINSIGHTS_HOME && rm -rf /hadoop/hdfs && rm -rf /hadoop/mapred

You can find the actual installation directories in the install.xml file.

4) Kill all of the InfoSphere BigInsights processes on each node in your cluster.

There are many BigInsights processes running on the cluster, but they are all Java processes that start from BIGINSIGHTS_HOME and are owned by the BigInsights administrator user.

To find all of the BigInsights process pids, run the following command:

ps -ef | grep java | more

In order to stop all of the BigInsights processes, run the following command for each pid:

kill -9 <pid>

Now your system is clean and you can start a new installation of InfoSphere BigInsights.

Rate this page:

(0 users)Average rating

Document information


More support for:

InfoSphere BigInsights
Install

Software version:

1.1.0, 1.2.0, 1.3.0

Operating system(s):

Linux Red Hat - xSeries, Linux SUSE - xSeries

Software edition:

Basic Edition, Enterprise Edition

Reference #:

1593340

Modified date:

2012-05-08

Translate my page

Machine Translation

Content navigation